Nevermind, this group already answered my question here...
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/51ac9daee6679a86/fafcf7c119779acb?lnk=gst&q=comments+controller#fafcf7c119779acb
Thanks!
On Jul 21, 4:09 pm, Sav <savar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I''m using the polymorphic "acts_as_commentable"
plugin...http://www.juixe.com/techknow/index.php/2006/06/18/acts-as-commentabl...http://www.juixe.com/techknow/index.php/2006/07/09/comments-on-acts-a...
>
> But I''m new to RoR and don''t understand how to avoid
repeating myself.
>
> Is there a way to create a single "comment_form" partial and
action to
> handle any model type/id? The second link above assumes an @model
> model rather than being able to handle any model.
>
> Any insight would be greatly appreciated. Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---