I am using Ruby on Rails 3.2.2 and I would like to know if it is possible to use something like caching or IdentityMapping techniques or, at least, “protect” the database from hitting (for example, if the current object data isn’t changed the database should not be hit at all) when running the ActiveRecord::Persistence#update_attribute method multiple times in the same controller action and view rendering work flows.
I am using Ruby on Rails 3.2.2 and I would like to know if
Share
For more infos…
http://ar.rubyonrails.org/classes/ActiveRecord/Dirty.html
hope this helps,…