Sha256: f9f5da75c0a73b3f50b2a284b50f8c957ff2df51a96de84f778ad1226b3d753d
Contents?: true
Size: 287 Bytes
Versions: 10
Compression:
Stored size: 287 Bytes
Contents
# encoding: utf-8 require 'rails' require 'enum_field' module EnumField class Railtie < ::Rails::Railtie config.before_initialize do ActiveSupport.on_load :active_record do ActiveRecord::Base.send(:extend, EnumField::EnumeratedAttribute) end end end end
Version data entries
10 entries across 10 versions & 2 rubygems