Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

How to find the minimum value in a table column in Rails 3

ActiveRecord create: pass in an array of attributes

Does ActiveRecord save a belongs_to association when saving main object?

How to group an Active Record relation on a has_many :through association

Ruby on Rails Active Record Query (.each, .collect, .map ...?)

AssociationTypeMismatch for the same model

Database sharding and Rails

Rails nested attributes: require at least two records