Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation switches don't work properly #3

Open
kwikwag opened this issue Sep 8, 2010 · 0 comments
Open

Installation switches don't work properly #3

kwikwag opened this issue Sep 8, 2010 · 0 comments

Comments

@kwikwag
Copy link

kwikwag commented Sep 8, 2010

Specifying --aasm doesn't have the same affect as --stateful or --include-activation, they have to be specified manually for the correct code to be generated.

Additionally, even when specifying all three, no 'state' or 'deleted_at' columns are being generated in the users table (as in the base plugin). They should be created as follows:
add_column :users, :state, :string, :null => :no, :default => 'passive'
add_column :users, :deleted_at, :datetime

Configuration: new Rails app; Windows XP, Ruby 1.9.2p0 (Windows installer), Rails 3.0.0 (via gem install rails), RSpec 2 (installed according to http://github.com/rspec/rspec) , AASM 2.1.7 (via gem install aasm)

Gem list

aasm (2.1.7)
abstract (1.0.0)
actionmailer (3.0.0)
actionpack (3.0.0)
activemodel (3.0.0)
activerecord (3.0.0)
activeresource (3.0.0)
activesupport (3.0.0)
arel (1.0.1)
builder (2.1.2)
bundler (1.0.0)
diff-lcs (1.1.2)
erubis (2.6.6)
gemcutter (0.6.1)
i18n (0.4.1)
mail (2.2.5)
mime-types (1.16)
minitest (1.6.0)
polyglot (0.3.1)
rack (1.2.1)
rack-mount (0.6.13)
rack-test (0.5.4)
rails (3.0.0)
railties (3.0.0)
rake (0.8.7)
rdoc (2.5.8)
rspec (2.0.0.beta.20)
rspec-core (2.0.0.beta.20)
rspec-expectations (2.0.0.beta.20)
rspec-mocks (2.0.0.beta.20)
rspec-rails (2.0.0.beta.20)
sqlite3-ruby (1.3.1 x86-mingw32)
thor (0.14.0)
treetop (1.4.8)
tzinfo (0.3.23)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant