Shahin Kordasti wrote:
[...]
> However as the poster above mentions there is alot to be desired when it 
> comes to Ruby/Rails documentation. 

The documentation is actually very good, but you have to understand how 
it's organized.

> Like the render method, I too am 
> wondering what local_assigns is and how they can be used.
> 
> From the name I assume it is a way to pass local variables to the page 
> but that is only an assumption on my part.

This is addressed somewhere in the RDoc, probably in ActionController, 
although I don't remember offhand.

A lot of useful information is in the preamble to each class document, 
rather than under individual methods.  This makes sense when you 
consider that many of the most commonly used methods in the Rails 
framework are actually metaprogrammed in or faked with method_missing, 
so RDoc won't create entries for them.

> 
> Others issues I have is with the ORM framework and the find method. It 
> can take a whole bunch of options (like :first and so on) but where are 
> all these options listed?

Right in the ActiveRecord::Base RDoc file.  Try reading it sometime. :)

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.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