Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Mixing in module with attr_accessible, has_one, has_many

Testing a gem that uses ActiveRecord models

Prevent infinite loop when updating attributes within after_commit, :on => :create

Changing updated_at in a Rails record

How do you reference only the persisted records in an active record association

Yii2 active record model not saving data

activerecord yii2

Rails3 fields_for on text Hash: not working as expected

before_destroy and dependent destroy not firing

Rails push into array saves object

How can I execute a Database Operation outside of a transaction in Rails / ActiveRecord

add a database column with Rails migration and populate it based on another column

Issue with setter override on ActiveRecord

Rails - force field uppercase and validate uniquely

How to manage opening and closing database connections while working with activerecords and multiple threads

Order and sort_by difference in Ruby on Rails ActiveRecord

Rails: modify form parameters before modifying the database

Rails accepts_nested_attributes_for child doesn't have parent set when validating

Is it possible to sort a list of objects depending on the individual object's response to a method?

Illegal mix of collations for operation 'like' while searching with Ignited-Datatables

Rails ActiveRecord: Locking down attributes when record enters a particular state