Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails : Cannot include PgSearch Module provided by the pg_search Gem

get RETURNING after updating a record in rails

Uprgrading to Rails 4.1 getting error: ArgumentError: Unknown key: :order

Yii2 ActiveQuery use OR in Link array

php mysql activerecord yii2

Threaded data in Yii2

cannot insert into the database in ActiveRecord Yii2

php mysql activerecord yii2

Accessing join model attributes in has_many: though relationship

Why doesn't collection=objects on has_many :through trigger callbacks on the join model on deletion of the association?

joins() and where() request on association with custom table name

With paper_trail gem how to skip changes between nil and blank?

Testing an association with an alias_attribute

Trying to order the results of includes in activerecord

Rails cache ActiveRecord result

Using `assign_attributes` saves `has_many through:` association immediately

Model an undirected graph in Rails?

How to skip callbacks on Mongoid Documents?

Rails - Where (directories) to put Models that are not Active Record

Specify custom index name when using add_reference

What's the best way to include a LIKE clause in a Rails query?

validate at least one in has_and_belongs_to_many