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?
Best,
--
Like a tile controller from the java world I would suppose.
Essentially a block of code in an .rb file that gets executed every time the
partial is rendered.
I don't think you can do that? Can you?
On Fri, Jan 15, 2010 at 9:00 AM, Marnen Laibow-Koser
li...@ruby-forum.comwrote:
Aldric
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
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
2010/1/15 Aldric Giacomoni li...@ruby-forum.com:
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,
Marnen Laibow-Koser wrote:
Aldric Giacomoni wrote:
Marnen Laibow-Koser wrote:
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. :)
6 matches
Mail list logo