Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Check if ActiveRecord object is destroyed using the .destroy() return value

Converting Rails model to SQL insert Query?

How to simulate ActiveRecord Model.count.to_sql

Undefined method #sanitize for ActiveRecord::Base

Is there a way to export an ActiveRecord object to seeds.rb?

Rails app connection pool size, avoiding max pool size issues

Include only the latest/newest associated record with active record?

What is the best way to override Rails ActiveRecord destroy behavior?

Can I force ActiveRecord to save a model when a string field is modified in place?

How does an implementation of Table Data Gateway differs from Active Record?

How to disconnect from a particular database in rails?

How to migrate a existing one-to-many relationship to many-to-many in Rails and ActiveRecord

How can I migrate CarrierWave files to a new storage mechanism?

Find all objects that have greater than x of a certain association

How do I find() all records unique in certain fields?

Duplicating a record in Rails 3

Rails: Previous and Next record from previous query

Rails 3 has_many changed?

Rails/ActiveRecord Pessimistic Locking - Do I need to reload after obtaining a lock?

Reloading an object not working in rspec