Sha256: 0b5f4f4740c8157c40e0ef13a435200476a74c1280d2fd3b2dac5ca468f833ab
Contents?: true
Size: 340 Bytes
Versions: 10
Compression:
Stored size: 340 Bytes
Contents
module WulffeldSlug module Slug def has_slug(fields, options = {}) class_attribute :slug_config self.slug_config = {:case => :downcase, :loop_start => 64, :fields => fields}.merge(options) include WulffeldSlug::SlugInclude end end end module ActiveRecord class Base extend WulffeldSlug::Slug end end
Version data entries
10 entries across 10 versions & 1 rubygems