Sha256: d3344c2936417beea1517fc51603e927676996a0daaea072f56f47c74aa97f3e

Contents?: true

Size: 335 Bytes

Versions: 4

Compression:

Stored size: 335 Bytes

Contents

require File.join(File.dirname(__FILE__), 'slug', 'slug')
require File.join(File.dirname(__FILE__), 'slug', 'ascii_approximations')

if defined?(ActiveRecord)
  ActiveRecord::Base.instance_eval { extend Slug::ClassMethods }
end

if defined?(Rails) && Rails.version.to_i < 3
  raise "This version of slug requires Rails 3 or higher"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slug-4.0.1 lib/slug.rb
slug-0.8.0 lib/slug.rb
slug-0.6.1 lib/slug.rb
slug-0.6.0 lib/slug.rb