Class Step
In: app/models/step.rb
Parent: ActiveRecord::Base

Steps link Logis to Trails

Methods

Public Instance methods

Filter-functions

[Source]

    # File app/models/step.rb, line 36
36:   def destroy_empty_path
37:     if self.path.steps.count == 0
38:       self.path.destroy
39:     end
40:   end

[Validate]