Yes thanxs !.. I have thought of the same solution.
I now have the following.. :
Languages:
-id
-name
menus
-id
-title
-languages id
This is a much better solution !! .. I really don't know why haven't
thought of it
sooner.
Thanxs for al the replays guys!.
gr jeljer
Paweł K wrote:
> Why can't you make an additional model "language" and another model of
> "message", then you only need:
>
> language.rb: has_many => :messages
> message.rb: belongs_to => :language
>
> Then you might have infinite number of languages with infinite number
> of messages ;)))
>
> Good luck! :)
>
> On Dec 8, 10:36 pm, Frederick Cheung <[EMAIL PROTECTED]>
--
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
-~----------~----~----~----~------~----~------~--~---