Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Find where associated records exist

how to validate associated model id?

How to best handle per-Model database connections with ActiveRecord?

Rails Dates Time and Fixtures

Pros and cons of database triggers vs Rails ActiveRecord callbacks?

Eager loading associations on ActiveModel instances in Rails

Understanding Rails ActiveRecord "single model" self joins

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