Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Ruby on Rails ActiveRecord "has_many :through" uniqueness validation

Deleting a record from database

disable explain in Rails 3.2

Reload column names in ActiveRecord model class

How to avoid ActiveRecord::RecordNotFound exceptions when querying multiple records

Rails 5—get a random record from db?

How do I avoid multiple queries with :include in Rails?

Rails best way to get previous and next active record object

How to use several aggregate functions at once in Rails/ActiveRecord?

Yii selecting only specified attributes in array

php activerecord yii

How to change created_at format

Migrate not working on Heroku

Update multiple records simultaneously with ActiveRecord in Rails using one query?

Update the value of a field in database by 1 using codeigniter

ActiveRecord::Base doesn't belong in a hierarchy descending from ActiveRecord

Appropriate pattern for ActiveRecord class

php oop activerecord

How to avoid n+1 queries when using polymorphic associations?

Rails polymorphic has_many :through

Connection pool issue with ActiveRecord objects in rufus-scheduler

How do I get Rails to eager load counts?