Sha256: 9d5f26e7e7676d33820f65a35cfab063496f4c471bff29bbedb4128a05622a2a

Contents?: true

Size: 256 Bytes

Versions: 6

Compression:

Stored size: 256 Bytes

Contents

module UserPreferences
  class Railtie < ::Rails::Railtie
    initializer 'user_preferences.has_preferences' do
      ActiveSupport.on_load(:active_record) do
        extend UserPreferences::HasPreferences::ActiveRecordExtension
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
user_preferences-1.0.2 lib/user_preferences/railtie.rb
user_preferences-1.0.1 lib/user_preferences/railtie.rb
user_preferences-1.0.0 lib/user_preferences/railtie.rb
user_preferences-0.0.3 lib/user_preferences/railtie.rb
user_preferences-0.0.2 lib/user_preferences/railtie.rb
user_preferences-0.0.1 lib/user_preferences/railtie.rb