Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to use "DISTINCT ON" in conjunction with Arel / ActiveRecord?

Yii2 activerecord custom attribute

php activerecord yii2

How to convert RIGHT LEFT functions to codeigniter active record

Should PG::Result#clear be called after you've executed raw SQL?

Factory Girl with multiple associations with the same parent

Can't rename an ActiveRecord table a second time. "[table]_pkey" does not exist

camelCase column in postgresql database in rails (ActiveRecord)

how remove an element from json string column by activerecord

Efficient way to select one from each category - Rails

ActionView::Template::Error at / uninitialized constant

Joining Nested Associations (Multiple Level)

how to access rails join model attributes when using has_many :through

Rails: Virtual attributes and form values

Rails ActiveRecord: pretty errors when deleting dependent entities with foreign keys constraints

Adding a LIKE criteria to a Rails Conditions block

Right way to force uniqueness on a join model? (has_many :through)

Lazy loading in Rails 3.2.6

Escape parameters in a query object, using ActiveRecord?

ruby activerecord

Rails model that has both 'has_one' and 'has_many' but with some constraints

Scaffolding ActiveRecord: two columns of the same data type