Rails: increment counter cache and return value
Small ActiveRecord hack that you can use everyday.
http://jetrockets.pro/blog/rails-increment-counter-cache-and-return-value
Small ActiveRecord hack that you can use everyday.
http://jetrockets.pro/blog/rails-increment-counter-cache-and-return-value
Post a comment