José Mota Tue Sep 28 11:03:06 -0400 2010

Subject: Dynamic finding odd behaviour

Hi guys! I'm guessing something's wrong with this code, the description is on the gist:
http://gist.github.com/601138

It's supposed to give me an array but instead it gives me a record. Does this have to do with eager loading or something? Or is there a way for me to get the array?

Thanks for the help! Good job on the initiative btw!


José Mota Wed Sep 29 04:40:24 -0400 2010

Never mind, i needed find_all_by_user_id(), not just find_by_user_id(). My bad, sorry.

(1-1/1)