Sha256: 9c63f59cf7d90fdaf7dd956bc4dd2bcd083570ee2c7a713aeb08c7184f784951

Contents?: true

Size: 175 Bytes

Versions: 3

Compression:

Stored size: 175 Bytes

Contents

class MysqlUser < ActiveRecord::Base  
  set_table_name 'user'
  set_primary_key :User
  
  has_one :mysql_user_info, :class_name => 'MysqlUserInfo', :foreign_key => :User
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
methodmissing-mysqlplus_adapter-1.0.2 test/models/mysql_user.rb
methodmissing-mysqlplus_adapter-1.0.3 test/models/mysql_user.rb
methodmissing-mysqlplus_adapter-1.0.4 test/models/mysql_user.rb