Class: Prototype

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/prototype.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) create_mockup



14
15
16
# File 'app/models/prototype.rb', line 14

def create_mockup
  self.mockups << Mockup.create(name: 'First', project_id: self.project_id)
end