restful-authentication icon indicating copy to clipboard operation
restful-authentication copied to clipboard

Installation switches don't work properly

Open kwikwag opened this issue 14 years ago • 0 comments

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)

kwikwag avatar Sep 08 '10 16:09 kwikwag