Revision: 24067
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 19, 2010 20:22 by viatropos
Initial Code
# acts_as_roleable create_table :users, :force => true do |t| t.string :name # ... end # acts_as_roleable create_table :groups, :force => true do |t| t.string :name # ... end create_table :memberships, :force => true do |t| t.integer :group_id t.integer :user_id end create_table :roles, :force => true do |t| t.string :name t.column :roleable_id, :integer t.column :roleable_type, :string end create_table :permissions, :force => true do |t| t.string :role_id t.string :name # ... end
Initial URL
removing-the-join-table-in-rails
Initial Description
Initial Title
Rails has_many through without join tables - Proposal
Initial Tags
mysql, rails
Initial Language
Rails