Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to combine create and update actions in Rails?

Rails: Query n IDs before and after some ID

Ruby on rails activerecord joins - select fields from multiple tables

RAILS3: to_JSON with multiple objects and includes

sort list of objects by property on associated object

Can I use ActiveRecord relationships with fields from an Hstore?

Rails, use different join table for `has_many :through` association based on condition

Count sold products by specific families in orders by date

How to make Rails relations accessible?

Rails .includes() returning 'undefined method'

ActiveRecord - Getting all Attributes of a Table

Group entries based on associated model fields in aggregate

Ruby: Sorting an array with another array [duplicate]

active record to hash inside itself

rails 4 and active admin

How to drop DB indices before bulk loading in seeds.rb?

How to map a database view using Ruby ActiveRecord?

Rails make model methods appear as attributes