Sha256: 3d13c82f79b42c32b0ee8d8b10041465f8319f4af17e5cad70ab4538252cdc57
Contents?: true
Size: 677 Bytes
Versions: 8
Compression:
Stored size: 677 Bytes
Contents
require 'active_model' require 'active_model/serializer' require 'active_model/serializer_support' require 'active_model/serializer/version' require 'active_model/serializer/railtie' if defined?(Rails) begin require 'action_controller' require 'action_controller/serialization' require 'action_controller/serialization_test_case' ActiveSupport.on_load(:action_controller) do if ::ActionController::Serialization.enabled ActionController::Base.send(:include, ::ActionController::Serialization) ActionController::TestCase.send(:include, ::ActionController::SerializationAssertions) end end rescue LoadError # rails not installed, continuing end
Version data entries
8 entries across 8 versions & 1 rubygems