Sha256: b638de89a139127b1f64a64b72e2d9c61eb172cff564c1d7a98c8479f5ceaaa8
Contents?: true
Size: 239 Bytes
Versions: 5
Compression:
Stored size: 239 Bytes
Contents
require 'rails' require 'belongs_to_enum' module BelongsToEnum class Railtie < Rails::Railtie railtie_name :belongs_to_enum config.to_prepare do ActiveRecord::Base.send(:extend, BelongsToEnum::Hook) end end end
Version data entries
5 entries across 5 versions & 1 rubygems