Forum: Ruby on Rails generating user table with Acts_as_authenticated

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
SB (Guest)
on 2006-01-12 16:10
(Received via mailing list)
Sorry for the newbie question. I'd like to check out the
Acts_as_authenticated plugin but have no idea how to conveniently set up
User Table in Mysql.

I use a mac OSX, but how do I change the following code into a DB

  def self.up
    create_table "add_authenticated_tables", :force => true do |t|
      t.column "login",            :string, :limit => 40
      t.column "email",            :string, :limit => 100
      t.column "crypted_password", :string, :limit => 40
      t.column "salt",             :string, :limit => 40
      t.column "activation_code",  :string, :limit => 40 # only if you
      t.column "activated_at",     :datetime             # user
      t.column "created_at",       :datetime
      t.column "updated_at",       :datetime
This topic is locked and can not be replied to.