RubyFlow The Ruby and Rails community linklog

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in