Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to append to a string on an ActiveRecord column in Rails

Why before_save/after_save is not triggered when attribute updates to nil? And how to trigger it?

Next element in array of active record objects

Rails how to copy all active storage attachments to new object?

Double join with habtm in ActiveRecord

ActiveRecord Update_all to variable value

Preload associations of already loaded relation

Allow users to create dynamic model attributes?

WARNING: Can't mass-assign these protected attributes: id (ar-extensions)

Iterating through an activerecord::relation array

Rails: NameError (uninitialized constant ActiveRecord::RecordNotUnique)

Rails3: SQL execution with hash substitution like .where()

Rails rake db:migrate doesn't work: nothing happens

ActiveRecord - nested includes

active record-import is creating duplicate records

Rails "Where" method - greater than (">") using endless ranges

ActiveRecord Query for Detail and Summary Data