Class: Trend

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

Direct Known Subclasses

FactTrend, ForemanTrend

Instance Method Summary collapse

Instance Method Details

#to_paramObject


12
13
14
# File 'app/models/trend.rb', line 12

def to_param
  "#{id}-#{to_label.parameterize}"
end