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-4.1.2 spec/dummy/app/models/user.rb
forest_liana-4.1.1 spec/dummy/app/models/user.rb
forest_liana-4.1.0 spec/dummy/app/models/user.rb
forest_liana-4.0.2 spec/dummy/app/models/user.rb
forest_liana-4.0.1 spec/dummy/app/models/user.rb
forest_liana-4.0.0 spec/dummy/app/models/user.rb
forest_liana-4.0.0.pre.beta.1 spec/dummy/app/models/user.rb
forest_liana-4.0.0.pre.beta.0 spec/dummy/app/models/user.rb