Sha256: 48947390b48b689d208fd0054499d3a825f51fed311b863787698ec3b3949bd8

Contents?: true

Size: 291 Bytes

Versions: 10

Compression:

Stored size: 291 Bytes

Contents

module ActsAsHashids
  class Exception < ::Exception; end
end

require 'acts_as_hashids/version'

if defined?(Rails::Railtie)
  require 'acts_as_hashids/railtie'
elsif defined?(ActiveRecord)
  require 'acts_as_hashids/methods'
  ActiveRecord::Base.send(:include, ActsAsHashids::Methods)
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
acts_as_hashids-0.2.0 lib/acts_as_hashids.rb
acts_as_hashids-0.1.9 lib/acts_as_hashids.rb
acts_as_hashids-0.1.8 lib/acts_as_hashids.rb
acts_as_hashids-0.1.6 lib/acts_as_hashids.rb
acts_as_hashids-0.1.5 lib/acts_as_hashids.rb
acts_as_hashids-0.1.4 lib/acts_as_hashids.rb
acts_as_hashids-0.1.3 lib/acts_as_hashids.rb
acts_as_hashids-0.1.2 lib/acts_as_hashids.rb
acts_as_hashids-0.1.1 lib/acts_as_hashids.rb
acts_as_hashids-0.1.0 lib/acts_as_hashids.rb