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