Marnen Laibow-Koser wrote:
> Aldric Giacomoni wrote:
>> Is it possible to render a partial with an action attached to it, just
>> like the regular views? Or should I just call the action which renders
>> the partial?
> 
> Uh...what?  How does any view, partial or not, have an action attached? 
> What in the world do you mean?
> 

http://localhost:3000/Users/index

That's a view, right?
In the controller, there's "def index [...] end", right? That's an 
action, right?

So when you go to "index", Rails calls the Ruby method "index" in the 
appropriate controller, doesn't it?
-- 
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