RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: RogerPodacter
Site: http://rapgenius.com
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..)
share_review
current_user.share_review(movie)
cache can take an array, so you should do cache [testimonies, Date.today], no?
cache
cache [testimonies, Date.today]
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..)cache
can take an array, so you should docache [testimonies, Date.today]
, no?