Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Adjustments needed in a Rails app to use Datamapper instead of ActiveRecord

How to coerce type of ActiveRecord attribute returned by :select phrase on joined table?

Rails 4 nested attributes and has_many :through associaton in a form

Model an undirected graph in Rails?

Rails - Dynamically build deeply nested objects (Cocoon / nested_form)

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