Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

joerodriguez (at gmail)'s latest activity

Wednesday, September 29 2010
5731 AR::Relation#cache_key was created in Ruby on Rails
  • joerodriguez (at gmail)
    joerodriguez (at gmail) created the ticket at 1:28 PM

    Provides a unique cache_key for ActiveRecord::Relation. Particularly useful when caching result sets or views:

    @results = Person.babies

    cache @results.cache_ke...