Sha256: 724d65fc1bfe1d029ffcbc647d7400e68ca8bb090f240090925ba689d51e6063

Contents?: true

Size: 205 Bytes

Versions: 7

Compression:

Stored size: 205 Bytes

Contents

class User < ActiveRecord::Base
  has_many :roles, autosave: true
  has_many :permissions, through: :roles, autosave: true

  belongs_to :salutation, autosave: true
  has_one :address, autosave: true


end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
activerecord_to_poro-0.0.8 spec/ar_support/models/user.rb
activerecord_to_poro-0.0.7 spec/ar_support/models/user.rb
activerecord_to_poro-0.0.6 spec/ar_support/models/user.rb
activerecord_to_poro-0.0.5 spec/ar_support/models/user.rb
activerecord_to_poro-0.0.4 spec/ar_support/models/user.rb
activerecord_to_poro-0.0.3 spec/ar_support/models/user.rb
activerecord_to_poro-0.0.2 spec/ar_support/models/user.rb