Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

validation custom message for rails 3

How to implement has_many :through relationships with Mongoid and mongodb?

Safe ActiveRecord like query

Deprecation warning when using has_many :through :uniq in Rails 4

How to get the original value of an attribute in Rails

Check if record exists from controller in Rails

ActiveRecord Query Union

In rails, how can I find out what caused a .save() to fail, other than validation errors?

How do I turn on SQL debug logging for ActiveRecord in RSpec tests?

Rails find record with zero has_many records associated [duplicate]

how to add records to has_many :through association in rails

Saving multiple objects in a single call in rails

How does Rails keep track of which migrations have run for a database?

Why all the Active Record hate? [closed]

Rails filtering array of objects by attribute value

ActiveRecord.find(array_of_ids), preserving order

How to implement a unique index on two columns in rails

How to determine if a record is just created or updated in after_save

How to execute a raw update sql with dynamic binding in rails

Overriding id on create in ActiveRecord