1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/models/project_step.rb

6 lines
204 B
Ruby
Raw Normal View History

2015-05-05 03:10:25 +02:00
class ProjectStep < ActiveRecord::Base
belongs_to :project
has_one :project_step_image, as: :viewable, dependent: :destroy
accepts_nested_attributes_for :project_step_image, allow_destroy: true
end