Sha256: 8558db09fb52d5c5db48667135a4c0c5cb1b2e61ecbb72251d1b00dfe1d1c9e2
Contents?: true
Size: 284 Bytes
Versions: 4
Compression:
Stored size: 284 Bytes
Contents
module Radmin def self.table_name_prefix; "radmin_"; end class Assignment < ActiveRecord::Base belongs_to :user, :class_name => "Radmin::User", :foreign_key => "radmin_user_id" belongs_to :role, :class_name => "Radmin::Role", :foreign_key => "radmin_role_id" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
radmin-0.3.3 | app/models/radmin/assignment.rb |
radmin-0.3.2 | app/models/radmin/assignment.rb |
radmin-0.3.1 | app/models/radmin/assignment.rb |
radmin-0.2.0 | app/models/radmin/assignment.rb |