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-2.7.0 lib/generators/enum/USAGE
power_enum-2.6.0 lib/generators/enum/USAGE
power_enum-2.5.0 lib/generators/enum/USAGE
power_enum-2.4.0 lib/generators/enum/USAGE
power_enum-2.3.0 lib/generators/enum/USAGE
power_enum-2.2.0 lib/generators/enum/USAGE
power_enum-1.4.0 lib/generators/enum/USAGE
power_enum-2.1.0 lib/generators/enum/USAGE
power_enum-2.0.2 lib/generators/enum/USAGE
power_enum-1.3.4 lib/generators/enum/USAGE
power_enum-2.0.1 lib/generators/enum/USAGE
power_enum-2.0.0 lib/generators/enum/USAGE
power_enum-2.0.0.rc lib/generators/enum/USAGE
power_enum-1.3.3 lib/generators/enum/USAGE