In Rails 3 I would be using all instead but it's depreciated in Rails 4.
I don't think all
is depreciated, it used to return an Array
(rails 3) and now returns an ActiveRecord::Relation
so you should be able to use it for chaining queries.
see http://api.rubyonrails.org/classes/ActiveRecord/Scoping/Named/ClassMethods.html#method-i-all
Returns an ActiveRecord::Relation scope object.