search for: appmodule_id

Displaying 1 result from an estimated 1 matches for "appmodule_id".

2006 May 08
0
destroy failure with has_many associative table without id
...ers" and "appmodules", and I''ve created an associative table named "permissions" : create_table "permissions", :id => false, :force => true do |t| t.column "user_id", :integer, :default => 0, :null => false t.column "appmodule_id", :integer, :default => 0, :null => false end I''ve explicited disabled the id creation (:id => false), as "user_id" and "appmodule_id" are de facto primary keys. the "has_many" is used for relationship between user, permission and appmodule....