Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Network < ActiveRecord::Base
- has_many :moderations
- has_many :moderators, :through=>:moderations
- has_many :memberships, :as=>:memberable
- has_many :members, :through=>:memberships
- end
Add Comment
Please, Sign In to add comment