RailsCasts Pro episodes are now free!

Learn more or hide this

Tom Lehman's Profile

GitHub User: RogerPodacter

Site: http://rapgenius.com

Comments by Tom Lehman

Avatar

better still, how about making share_review an instance method? e.g., current_user.share_review(movie) (also it should take a movie object, not a movie URL..)

Avatar

cache can take an array, so you should do cache [testimonies, Date.today], no?