Sha256: 7196ffc967232ede168c5fce1f7e44fd6e7bc6a52c9e47da0b67641083da02ef

Contents?: true

Size: 288 Bytes

Versions: 37

Compression:

Stored size: 288 Bytes

Contents

Description:
    Generates a serializer for the given resource with tests.

Example:
    `rails generate serializer Account name created_at`

    For TestUnit it creates:
        Serializer:  app/serializers/account_serializer.rb
        TestUnit:    test/unit/account_serializer_test.rb

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
active_model_serializers-0.9.13 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.9.12 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.9.11 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.9.9 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.9.8 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.8.4 lib/generators/serializer/USAGE
active_model_serializers-0.9.7 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.9.6 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.9.5 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.9.4 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.9.3 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.9.2 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.8.3 lib/generators/serializer/USAGE
active_model_serializers-0.9.1 lib/active_model/serializer/generators/serializer/USAGE
active_model_serializers-0.8.2 lib/generators/serializer/USAGE
active_model_serializers-0.9.0 lib/active_model/serializer/generators/serializer/USAGE
gpi-active_model_serializers-0.8.5 lib/generators/serializer/USAGE
gpi-active_model_serializers-0.8.5.alpha1 lib/generators/serializer/USAGE
gpi-active_model_serializers-0.8.4 lib/generators/serializer/USAGE
gpi-active_model_serializers-0.8.4.alpha5 lib/generators/serializer/USAGE