photomix/vendor/plugins/authlogic/test/libs/company.rb

6 lines
202 B
Ruby
Raw Normal View History

2011-04-11 12:07:31 +02:00
class Company < ActiveRecord::Base
authenticates_many :employee_sessions
authenticates_many :user_sessions
has_many :employees, :dependent => :destroy
has_many :users, :dependent => :destroy
end