Sha256: b24ac01559501bdcf81f6cefa61b090bd39b3caeb960e925184de1792ba7ca8f
Contents?: true
Size: 252 Bytes
Versions: 1
Compression:
Stored size: 252 Bytes
Contents
require "active_record/migrations/many/ref_many" class User < ActiveRecord::Base # has_and_belongs_to_many :troles, :class_name => 'Role' end class Role < ActiveRecord::Base # has_and_belongs_to_many :accounts, :class_name => 'User' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
troles-0.5.0 | spec/active_record/models/ref_many.rb |