Not sure what this error means.
"uninitialized constant MigrationLoginSugar"
I ran it with --trace but I''m not going to post that here yet since
it''s long.
Here is the migration itself. I didn''t see any particular columns that
would effect it but I''m wondering about the ''CHAR(40) columns
not
saying string ? Is that wrong before I go ahead and much with it?
Stuart
class LoginSugar < ActiveRecord::Migration
def self.up
create_table :users, :force => true do |t|
t.column :login, :string, :limit => 80, :null => false
t.column :salted_password, :string, :limit => 40, :null => false
t.column :email, :string, :limit => 60, :null => false
t.column :first_name, :string, :limit => 40
t.column :last_name, :string, :limit => 40
t.column :salt, ''CHAR(40)'', :null => false
t.column :verified, :integer, :default => 0
t.column :role, :string, :limit => 40, :default => nil
t.column :security_token, ''CHAR(40)'', :default => nil
t.column :token_expiry, :datetime, :default => nil
t.column :deleted, :integer, :default => 0
t.column :delete_after, :datetime, :default => nil
end
end
def self.down
drop_table :users
end
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---