Sha256: 90cd3d683778fb31275bcb438c67125e9246dfd7b693858de452b29207b3069f
Contents?: true
Size: 282 Bytes
Versions: 10
Compression:
Stored size: 282 Bytes
Contents
require 'acts_as_hashids/methods' module ActsAsHashids class Railtie < Rails::Railtie initializer 'acts_as_hashids.include_methods' do ActiveSupport.on_load :active_record do ActiveRecord::Base.send(:include, ActsAsHashids::Methods) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems