Yes, I'd do it with a custom controller method too.

Bas van Westing wrote:
> Hi All,
> 
> I would advise you to look at recipe 13 "Handle Multiple Models in
> One Form" from Advanced Rails Recipies (by Mike Clark, sold by
> pragmatic programmers). It a little too big to post here, so buy the
> PDF.
> I'm using it and it works great.
> 

However, it does assume the list of items belong_to another class. Of 
course I could create a class to hold those items, but I think it would 
just be easier to create a custom controller method.

> Don't try to invent the wheel yourself.

Surely that cliché is inappropriate as it is the wheel that is 
reinvented itself. I'm the Luddite that's resisting the reinvention. If 
anything I could be using that cliché myself asking the Rest advocates 
to stop reinventing the wheel :o)

However, my point isn't that Rest is bad, but rather that it should not 
be the only way to use Rails. I hoping that Restless Luddites like me 
will not be excluded in the splendidness that is Rails.

-- 
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