Sha256: 975c6d3725fdbb6ea40ef57dc95bebd3e591c4445a86a85fe7a06ac4a09696cf

Contents?: true

Size: 225 Bytes

Versions: 10

Compression:

Stored size: 225 Bytes

Contents

require 'rails/generators'
require 'rails/generators/rails/resource/resource_generator'

module Rails
  module Generators
    class ResourceGenerator
      hook_for :serializer, default: true, boolean: true
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
active_model_serializers-0.10.4 lib/generators/rails/resource_override.rb
agi_active_model_serializers-0.10.9 lib/generators/rails/resource_override.rb
agi_active_model_serializers-0.10.8 lib/generators/rails/resource_override.rb
agi_active_model_serializers-0.10.7 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.3 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.2 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.1 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.0 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.0.rc5 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.0.rc4 lib/generators/rails/resource_override.rb