Displaying 1 result from an estimated 1 matches for "pmayb".
Did you mean:
mayb
2005 Aug 28
6
ActiveRecord Question
Hi all
I am new to Rails, and obviously I''m missing something, I''ll get straight to the question:
A User has many operations (granted to her), each Operation is associated with an OperationType. Each Operation may be associated with more then one User.
So the model goes like this:
class User < ActiveRecord::Base
has_and_belongs_to_many :operations