Sha256: 775250f59e66f7706bf17191aacf5d1159fd2285b7c17804f660e933b06d9a57
Contents?: true
Size: 522 Bytes
Versions: 21
Compression:
Stored size: 522 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
21 entries across 21 versions & 1 rubygems