class Authentication < ActiveRecord::Base attr_accessible :level, :permissions serialize :permissions, Array has_and_belongs_to_many :users # has_many :users_authenticationses # has_many :users, :through => :users_authenticationses end