Displaying 1 result from an estimated 1 matches for "login_develop".
2012 Jun 11
0
Using AuthLogic
...l
t.string :crypted_password
t.string :password_salt
t.string :persistence_token
t.timestamps
end
end
end
user controller
class UserController < ApplicationController
def index
end
end
database.yml
development:
adapter: mysql2
encoding: utf8
database: login_development
user: root
password:
pool: 5
timeout: 5000
The error is that:
StandardError in UserController#index
You must establish a database connection before using acts_as_authentic
app/models/user.rb:3:in `<class:User>''
app/models/user.rb:1:in `<top (required)>''...