Sha256: 0a06e18dd3bd18c5dc2a9ed1381d6c63a43b33668da55ffbc50299b2ffb13c97

Contents?: true

Size: 516 Bytes

Versions: 12

Compression:

Stored size: 516 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/field_serializer"

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

12 entries across 12 versions & 1 rubygems

Version Path
fields-serializer-0.4.0 lib/fields/serializer.rb
fields-serializer-0.3.3 lib/fields/serializer.rb
fields-serializer-0.3.2 lib/fields/serializer.rb
fields-serializer-0.3.1 lib/fields/serializer.rb
fields-serializer-0.3.0 lib/fields/serializer.rb
fields-serializer-0.2.4 lib/fields/serializer.rb
fields-serializer-0.2.3 lib/fields/serializer.rb
fields-serializer-0.2.2 lib/fields/serializer.rb
fields-serializer-0.2.1 lib/fields/serializer.rb
fields-serializer-0.2.0 lib/fields/serializer.rb
fields-serializer-0.1.1 lib/fields/serializer.rb
fields-serializer-0.1.0 lib/fields/serializer.rb