Hi Doug
To save your valuable time and be more production, you must simply
take a look at activescaffold :-)
On Sep 28, 8:50 am, doug
<ddjol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> All of the documentation that I''ve read relating to the overriding
of
> dynamic scaffolding seems to indicate that the way the override is to
> be accomplished is to add an appropriate method to the controller
> class (e.g., list) and the added method will cause the dynamic method
> to be overridden. Indeed it seems to work that way. Also, as some
> documentation seems to point out, if one adds the method but fails to
> add a corresponding template, Rails will complain about the missing
> template and indeed that''s the way that it seems to work. No
> surprises so far.
>
> The surprising thing to me is that it appears that one can add a
> static template without ever adding a corresponding method to the
> controller. I''m guessing that in such a case Rails simply retains
the
> dynamic method but looks to the static template since it now exists.
> So, essentially, if one wants only to override the dynamic template
> with a static template while continuing to use the dynamic method, he
> can do so. That''s good news. My question is: Am I missing
something
> or is this the way that it''s supposed to work.
>
> Thanks.
>
> ... doug
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---