Aldric Giacomoni wrote:
> 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?

No.  That's a URL.  The view would be app/views/users/index.html.haml or 
some such.

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

Right.

> 
> So when you go to "index", Rails calls the Ruby method "index" in the 
> appropriate controller, doesn't it?

Assuming standard routing, yes.

This does not make your original question any more comprehensible. :)

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