oh the brackets. thanks guys. :)

On Apr 8, 4:04 am, ultrayoshi <[email protected]> wrote:
> Have you tried?
>
> map.resources :courses, :has_many => [:pages, :forums]
>
> On 8 Abr, 02:31, David Zhu <[email protected]> wrote:
>
>
>
> > Hey,
>
> > i have- map.resources :courses, :has_many => :pages
>
> > now what if i wanted for courses to has_many => :forums as well?
>
> > can i just do map.resources :courses, :has_many => :pages, :forums
>
> > ?? because that doesn't work. whats the syntax for- has many blank AND
> > blank..
>
> > lol reall noobie i know, but i just don't know how to do it.- Hide quoted 
> > text -
>
> - Show quoted text -

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