Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Comparing .references requirement on includes vs. eager_load

How can Rails' Activerecord table refer to itself?

Adding find condition to all Active Record Models in Rails

ActiveRecord :inverse_of does not work on has_many :through on the join model on create

Rails: ActiveRecord's default_scope and class inheritance

Rails view activerecord sql statements on debug console

Implementing a NullObject pattern in Rails

Yii 2: multiple relation with same table

php activerecord yii2 relation

db:seed not loading models

Distinct Join Rails

Difference Between find and Where with Relationships

Using DISTINCT with ActiveRecord

Rails - Serialize Model to JSON with camelize

Why can't I check ActiveRecord validations in the console?

Override the default Rails model template

Rails: Can you pass arguments to the after_create method?

Ruby array equivalent of active record.where(criteria)

How to change primary key type in postgreSQL to bigserial using Rails/ActiveRecord

how to build query like `select ... where id % 2 = 1` using Yii 2 ?

activerecord yii2

how to map non-standard table with ActiveRecord or should I use other ORM?