Sha256: db2c33a76ba0a90cb74e12372a5c857ff7ad1100d7efe6b604d914ca77b55c97

Contents?: true

Size: 208 Bytes

Versions: 128

Compression:

Stored size: 208 Bytes

Contents

class User < ActiveRecord::Base
  has_many :trees_owned, class_name: 'Tree', inverse_of: :owner
  has_many :trees_cut, class_name: 'Tree', inverse_of: :cutter

  enum title: [ :king, :villager, :outlaw ]
end

Version data entries

128 entries across 128 versions & 1 rubygems

Version Path
forest_liana-8.0.17 spec/dummy/app/models/user.rb
forest_liana-7.8.2 spec/dummy/app/models/user.rb
forest_liana-8.0.16 spec/dummy/app/models/user.rb
forest_liana-8.0.15 spec/dummy/app/models/user.rb
forest_liana-8.0.14 spec/dummy/app/models/user.rb
forest_liana-8.0.13 spec/dummy/app/models/user.rb
forest_liana-8.0.12 spec/dummy/app/models/user.rb
forest_liana-8.0.11 spec/dummy/app/models/user.rb
forest_liana-8.0.10 spec/dummy/app/models/user.rb
forest_liana-8.0.9 spec/dummy/app/models/user.rb
forest_liana-8.0.8 spec/dummy/app/models/user.rb
forest_liana-8.0.7 spec/dummy/app/models/user.rb
forest_liana-8.0.6 spec/dummy/app/models/user.rb
forest_liana-8.0.5 spec/dummy/app/models/user.rb
forest_liana-8.0.4 spec/dummy/app/models/user.rb
forest_liana-8.0.3 spec/dummy/app/models/user.rb
forest_liana-8.0.2 spec/dummy/app/models/user.rb
forest_liana-8.0.1 spec/dummy/app/models/user.rb
forest_liana-8.0.0 spec/dummy/app/models/user.rb
forest_liana-7.8.1 spec/dummy/app/models/user.rb