]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/composite_primary_keys-1.1.0/test/fixtures/employee.rb
The render method needs to be last, otherwise the error header won't get set. Needs...
[rails.git] / vendor / gems / composite_primary_keys-1.1.0 / test / fixtures / employee.rb
1 class Employee < ActiveRecord::Base
2         belongs_to :department, :foreign_key => [:department_id, :location_id]
3         has_many :comments, :as => :person
4 end