Flowdock
method

any?

Importance_1
Ruby on Rails latest stable (v4.2.1) - 1 note - Class: ActiveRecord::Relation
any?() public

Returns true if there are any records.

Show source
Register or log in to add new notes.
March 21, 2016
0 thanks

Should include information about optional block

If a block exists, will return true if any records in the relation is true for the given block. Otherwise, returns true is there are any records.