Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails :has_many explanation

ActiveRecord 'where' clause using function

Automated way to select all columns of joined table in ActiveRecord?

Yii2 triggering a model/record update from afterSave

php activerecord yii2

Rails 3 - ActiveRecord, what is more efficient (update vs. count)?

How do I find all of the parasites belonging to the particular pet of a particular user?

Integrating user id into creation of a new object in an Activerecord database

Rails: Selecting unique label values with its ID

Ruby on Rails - Order objects by field of a has_many relation

find_by_sql renders an array

How to automatically assign parent ID as foreign key when using nested attributes?

When using first_or_create, in the after_create callback, the Model queries get extra conditions added automatically

How to reorder activerecord array based on array of ids

Can't create belongs_to association in controller

Different databases for specs

How to use a group by clause on an ActiveRecord query using a Hstore key? [closed]

DelayedJob breaking validates unique constraints in ActiveRecord