Sha256: c0fd4bc464f0af542d356f7667f3dbe9cc4081eff5d783ef376425f2fb53d059

Contents?: true

Size: 511 Bytes

Versions: 20

Compression:

Stored size: 511 Bytes

Contents

require 'active_support'
require 'active_support/core_ext'
require 'active_support/concern'
require "fields/serializer/version"
require "fields/serializer/active_record"
require "fields/serializer/action_controller"
require "fields/serializer/fields_tree"

module Fields
  module Serializer

    ActiveSupport.on_load(:active_record) do
      include Fields::Serializer::ActiveRecord
    end

    ActiveSupport.on_load(:action_controller) do
      include Fields::Serializer::ActionController
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
fields-serializer-0.8.5 lib/fields/serializer.rb
fields-serializer-0.8.4 lib/fields/serializer.rb
fields-serializer-0.8.3 lib/fields/serializer.rb
fields-serializer-0.8.2 lib/fields/serializer.rb
fields-serializer-0.8.1 lib/fields/serializer.rb
fields-serializer-0.8.0 lib/fields/serializer.rb
fields-serializer-0.7.0 lib/fields/serializer.rb
fields-serializer-0.6.4 lib/fields/serializer.rb
fields-serializer-0.6.3 lib/fields/serializer.rb
fields-serializer-0.6.2 lib/fields/serializer.rb
fields-serializer-0.6.1 lib/fields/serializer.rb
fields-serializer-0.6.0 lib/fields/serializer.rb
fields-serializer-0.5.7 lib/fields/serializer.rb
fields-serializer-0.5.6 lib/fields/serializer.rb
fields-serializer-0.5.5 lib/fields/serializer.rb
fields-serializer-0.5.4 lib/fields/serializer.rb
fields-serializer-0.5.3 lib/fields/serializer.rb
fields-serializer-0.5.2 lib/fields/serializer.rb
fields-serializer-0.5.1 lib/fields/serializer.rb
fields-serializer-0.5.0 lib/fields/serializer.rb