Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord SQL execution time

after_initialize & after_find callbacks order in Active Record object life cycle?

Yii2 NOT IN condition not working

Rails: storing encrypted data in database

How to randomize array element positions of an `ActiveRecord::Relation`?

Why is Yii2's ActiveRecord using lots of single SELECTs instead of JOINs?

php mysql activerecord orm yii2

Rails (ActiveRecord) many to many table

Rails joins or preload belongs_to association from polymorphic model

What's a good way to clean up my migrations in Rails?

Multiple has_many relationships to same model

Rails 3 sorting through parent association

How can you conditionally build an ActiveRecord Query in Rails?

Rails Delegate Set Value

How to change a reference column to be polymorphic?

Accessing rails flash[:notice] in a model

Like and where condition in ruby

ActiveRecord: Do I need both belongs_to and has_one

Refactoring ActiveRecord models with a base class versus a base module

Concat in Codeigniter Active Record

codeigniter activerecord

What is the class of an association based on the foreign key attribute only?