Sha256: e8bb810be92a742c4953aa0b5445fa258db4b949125d328e21161cc1398b1ccc
Contents?: true
Size: 287 Bytes
Versions: 3
Compression:
Stored size: 287 Bytes
Contents
# frozen_string_literal: true require 'rails/railtie' module SaferInitialize class Railtie < Rails::Railtie ActiveSupport.on_load :active_record do require 'safer_initialize/active_record/extensions' include SaferInitialize::ActiveRecord::Extensions end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
safer_initialize-0.3.0 | lib/safer_initialize/railtie.rb |
safer_initialize-0.2.0 | lib/safer_initialize/railtie.rb |
safer_initialize-0.1.0 | lib/safer_initialize/railtie.rb |