saasbook

without_through.rb

May 1st, 2012
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.10 KB | None | 0 0
  1. alice = Moviegoer.find_by_name('Alice')
  2. alices_movies = alice.reviews.map { |review| review.movie }
Advertisement
Add Comment
Please, Sign In to add comment