Displaying 2 results from an estimated 2 matches for "find_by_firstname_and_lastname".
2006 Mar 10
3
Searching database using foriegn keys
I''ve read a lot about the ORM magic of Active Record which allows you to
address a foriegn key object directly...
e.g.
I have a books and people table where books has a column called
person_id
If I get myself a Book object called mybook I get to the person object
associated with this book by saying
book.person
which is awesome and I love it.
My question, how can I say "Go
2007 Nov 16
9
Challenge
The original:
http://pastie.textmate.org/private/lqvrlyyvkv2kbugoxtiz6w
Send your submissions to me by email or on #merb. I''ll blog it, and
pick a winner. The winner does not mean it makes it into Merb, just
means I personally like it best.
But it might make it into Merb.
# Scenario:
# You have a simple application that lists all the monkeys at the zoo.
# Every monkey has a