Sha256: 16f81c4fd3c282d55a55c411cfc4e52b6da75a2cf186454a0122ef5c1fc29526

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 Bytes

Contents

class Comment < ActiveRecord::Base
  belongs_to :author, :foreign_key => "user_id", :class_name => "User"
end

class Post < ActiveRecord::Base
  belongs_to :author, :foreign_key => 'user_id', :class_name => "User"
end

class Article < ActiveRecord::Base
  belongs_to :author, :foreign_key => 'user_id', :class_name => "User"
end


# Models for licenses testing:
class Song < ActiveRecord::Base
end

class Tune < ActiveRecord::Base
end

class Concerto < ActiveRecord::Base
end

class Improvisation < ActiveRecord::Base
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cantango-0.8.0 spec/active_record/scenarios/shared/models/items.rb