Class: Effective::Post
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Effective::Post
- Defined in:
- app/models/effective/post.rb
Instance Method Summary collapse
Instance Method Details
#to_param ⇒ Object
29 30 31 |
# File 'app/models/effective/post.rb', line 29 def to_param "#{id}-#{title.parameterize}" end |