Sha256: 97f3e5bb0155424861d2c8ac36223c347a4f87e763d836f0337355b1e974e677

Contents?: true

Size: 135 Bytes

Versions: 5

Compression:

Stored size: 135 Bytes

Contents

class Company < ActiveRecord::Base
  has_one :project, :as => :owner, :inverse_of => :owner
  
  validates :name, :presence => true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
freeform-2.0.4 spec/dummy/app/models/company.rb
freeform-2.0.3 spec/dummy/app/models/company.rb
freeform-2.0.2 spec/dummy/app/models/company.rb
freeform-2.0.1 spec/dummy/app/models/company.rb
freeform-2.0.0 spec/dummy/app/models/company.rb