]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/composite_primary_keys-2.2.2/test/fixtures/hack.rb
Use a list for the main menu, rather than br-separated links
[rails.git] / vendor / gems / composite_primary_keys-2.2.2 / 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