observer question

./script/generate observer Account

does not work at all:

Couldn't find 'observer' generator

What do I need to generate an observer?

think you have to be on Edge to use that generator....

It's currently only in Edge... however, you can make the observer


  class AccountObserver < ActiveRecord::Observer


  require File.dirname(__FILE__) + '/../test_helper'
  class AccountObserverTest < Test::Unit::TestCase
    fixtures :accounts
    # Replace this with your real tests.
    def test_truth
      assert true

That's exactly what the generator would output for that command. It's
not that much, really :slight_smile: