mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
6 lines
204 B
Ruby
6 lines
204 B
Ruby
|
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
|