Sha256: dc5c5cf5ba88337e7781e559f17098bb1835853f07618c2e405167a94889005d

Contents?: true

Size: 332 Bytes

Versions: 10

Compression:

Stored size: 332 Bytes

Contents

class User < ActiveRecord::Base
  belongs_to :employer

  belongs_to :manages_company, :class_name => "Company"
  counter_culture :manages_company, :column_name => "managers_count"
  belongs_to :has_string_id
  counter_culture :has_string_id

  has_many :reviews
  accepts_nested_attributes_for :reviews, :allow_destroy => true
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
counter_culture-0.1.33 spec/models/user.rb
counter_culture-0.1.32 spec/models/user.rb
counter_culture-0.1.31 spec/models/user.rb
counter_culture-0.1.30 spec/models/user.rb
counter_culture-0.1.29 spec/models/user.rb
counter_culture-0.1.28 spec/models/user.rb
counter_culture-0.1.27 spec/models/user.rb
counter_culture-0.1.26 spec/models/user.rb
counter_culture-0.1.25 spec/models/user.rb
counter_culture-0.1.24 spec/models/user.rb