• Could not connect to Twitter

New ShowMeDo: Counter Cache Column

“If you need to display the record count for a has_many association, you can improve performance by caching that number in a column.” – video here, Ryan Bates

Please share:
  • DZone
  • del.icio.us
  • Reddit
  • Furl
  • Ma.gnolia
  • email
  • StumbleUpon
  • Technorati
  • TwitThis
  • Slashdot
If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

  1. New ShowMeDo – Rails: Find Through Association
  2. New ShowMeDo – Rails: Caching with Instance Variables
  3. New ShowMeDo: Eager Loading
  4. New ShowMeDo: HABTM Checkboxes
  5. New ShowMeDo: Move Find into Model

Comments are closed.