Sha256: c41b897caf2ac779a6787373f42d4d76f8f7b855979f36aab563b3a9c5fdaab2

Contents?: true

Size: 346 Bytes

Versions: 34

Compression:

Stored size: 346 Bytes

Contents

Description:
    Create the Rails files for a PowerEnum enum.

Example:
    rails generate enum booking_status

    This will create:
        BookingStatus model: app/models/booking_status.rb
        Migration to create tables: db/migrate/20110925195833_create_enum_booking_status.rb
        Unit test for model: test/unit/booking_status_test.rb

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
power_enum-4.0.1 lib/generators/enum/USAGE
power_enum-4.0.0 lib/generators/enum/USAGE
power_enum-3.7.0 lib/generators/enum/USAGE
power_enum-3.6.0 lib/generators/enum/USAGE
power_enum-3.5.0 lib/generators/enum/USAGE
power_enum-3.4.0 lib/generators/enum/USAGE
power_enum-3.3.1 lib/generators/enum/USAGE
power_enum-3.3.0 lib/generators/enum/USAGE
power_enum-3.2.0 lib/generators/enum/USAGE
power_enum-3.1.0 lib/generators/enum/USAGE
power_enum-3.0.1 lib/generators/enum/USAGE
power_enum-3.0.0 lib/generators/enum/USAGE
power_enum-2.12.0 lib/generators/enum/USAGE
power_enum-2.11.0 lib/generators/enum/USAGE
power_enum-2.10.1 lib/generators/enum/USAGE
power_enum-2.10.0 lib/generators/enum/USAGE
power_enum-2.9.1 lib/generators/enum/USAGE
power_enum-2.9.0 lib/generators/enum/USAGE
power_enum-2.8.0 lib/generators/enum/USAGE
power_enum-2.7.1 lib/generators/enum/USAGE