Sha256: c5435ddaf1658887ff28cc088b3bfaf5ccf2256f14959b39107d630a0634c1c3
Contents?: true
Size: 287 Bytes
Versions: 10
Compression:
Stored size: 287 Bytes
Contents
require 'safe_attributes' require 'rails' module SafeAttributes class Railtie < ::Rails::Railtie initializer "safeattributes.active_record" do |app| ActiveSupport.on_load :active_record do ActiveRecord::Base.send :include, SafeAttributes end end end end
Version data entries
10 entries across 10 versions & 1 rubygems