Role Model:
=========
create_table :roles, :id => false do |t|
t.integer :user_id
t.integer :modul_id
t.string :role
end
Modul Model:
==========
create_table :moduls do |t|
t.string :name
t.integer :updated_by
t.timestamps
end
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---