Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in active-relation

Rails ActiveRelation to hash

rails 3.0.3 - ActiveRecord::Relation, undefined method error

Matching nested model association attribute with includes

Arel Deprecation Warning when running rake db:create

multiple belongs_to relationships between two classes in Rails

Rails 3: How to get all Posts which ids are not in a given list?

dynamically get rails association

Difference between ActiveRecord and ActiveRecord::Relation objects

Turn SQL query into ActiveRecord Relation

Is there a DRY way to pass bind variables to an AR Relation?

How do I get Rails to eager load counts?

How do I write a UNION chain with ActiveRelation?

Rails: ActiveRecord where vs merge

ActiveRecord Association select counts for included records

Rails/Arel: Selecting all records as an ActiveRecord::Relation

ActiveRecord Query Union