search for: findbyon

Displaying 1 result from an estimated 1 matches for "findbyon".

Did you mean: findbyone
2010 Nov 07
0
Create default database/table on Rails 3 app
...n I create a default database (or table) for production? Should I use fixtures for that? 2.- How can I compare two values from the table? In my case is to look for an age and the give back kcal/day requirements; I believe in symphony I''d use something like those magic methods, findBy* or findbyOne*, but I don''t know how to do something similar in rails... there''s such a magic method? I hope you can guide me! :) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonra...