search for: findby

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

Did you mean: fincby
2010 Nov 07
0
Create default database/table on Rails 3 app
...1.- How can 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 emai...