Module: ManualSlug::ActiveRecord

Extended by:
ActiveSupport::Concern
Included in:
ManualSlug
Defined in:
lib/manual_slug/active_record.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#text_slugObject



8
9
10
# File 'lib/manual_slug/active_record.rb', line 8

def text_slug
  slug
end

#text_slug=(s) ⇒ Object



11
12
13
# File 'lib/manual_slug/active_record.rb', line 11

def text_slug=(s)
  self.slug = s
end