Module: ManualSlug::ActiveRecord::ClassMethods
- Defined in:
- lib/manual_slug/active_record.rb
Instance Method Summary collapse
Instance Method Details
#manual_slug(field, options = {}, callback = true) ⇒ Object
16 17 18 |
# File 'lib/manual_slug/active_record.rb', line 16 def manual_slug(field, = {}, callback = true) friendly_id field, use: [:slugged, :finders] end |