Sha256: bd1b090155feccb04decd09986718b8c12cde85b2325846b232b1a8d66921883

Contents?: true

Size: 531 Bytes

Versions: 79

Compression:

Stored size: 531 Bytes

Contents

Description:
    The observer generator creates stubs for a new observer.

    The generator takes a observer name as its argument.  The observer name may be
    given in CamelCase or under_score and should not be suffixed with 'Observer'.

    The generator creates a observer class in app/models and a test suite in
    test/unit.

Example:
    ./script/generate observer Account

    This will create an Account observer:
        Observer:   app/models/account_observer.rb
        Test:       test/unit/account_observer_test.rb

Version data entries

79 entries across 79 versions & 6 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
authorails-1.0.0 lib/rails_generator/generators/components/observer/USAGE
backlog-0.0.0 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.0.1 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.0.2 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.0.5 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.0.4 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.1.1 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.1.0 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.1.2 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.2.0 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.2.1 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE
backlog-0.3.0 vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE