Initial commit
This commit is contained in:
4
app/models/contract.rb
Normal file
4
app/models/contract.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class Contract < ActiveRecord::Base
|
||||
belongs_to :signer
|
||||
accepts_nested_attributes_for :signer
|
||||
end
|
||||
2
app/models/contract_template.rb
Normal file
2
app/models/contract_template.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
class ContractTemplate < ActiveRecord::Base
|
||||
end
|
||||
3
app/models/signer.rb
Normal file
3
app/models/signer.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
class Signer < ActiveRecord::Base
|
||||
has_many :contracts
|
||||
end
|
||||
Reference in New Issue
Block a user