On 23 Apr 2009, at 18:47, [email protected] wrote:
> > OK, I have this in my routes: > > map.resources :youtube_editor > map.resources :youtubes > > I deleted youtubes and I got an error. (I think "youtube" is my model > name, but "youtubes" may be my table name. "youtube_editor" is my > controller. How do I get the resource youtube_editor linked to the > @video_new variable? (if that's how it works...) > you'll make life easier for yourself if you stick to the default (ie the controller for editing instances of Youtube should be youtubes_controller). You should be able to the :controller option to override that if you want. Fred > > 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 [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 -~----------~----~----~----~------~----~------~--~---

