]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/composite_primary_keys-1.1.0/test/fixtures/hack.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 / hack.rb
1 class Hack < ActiveRecord::Base
2   set_primary_keys :name
3   has_many :comments, :as => :person
4   
5   has_one :first_comment, :as => :person, :class_name => "Comment"
6 end