On Sun, Apr 5, 2009 at 6:50 PM, Leon <[email protected]> wrote:
> I am doing some examples in a book on Roby on Rails. When a model
> class is create with generate model command, it will create some
> find_xxx methods on the fields. When the model have the relationships
> with other models, the more find_xxx methods will be generated. How do
> I know exactly how many and what kinds of find_xxx methods are
> created?


The API docs explain all of these added methods here:

http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html



-- 
Greg Donald
http://destiney.com/

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to