Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

uninitialized constant ActiveRecord (NameError)

ruby activerecord

Rails 4: undefined method `relation_delegate_class' for Model:Class

Rails : uninitialized constant error on Active Record destroy

How to use Rails 3 scope to filter on habtm join table where the associated records don't exist?

How to update attachment in ActiveStorage (Rails 5.2)

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