Displaying 2 results from an estimated 2 matches for "jeanosorio".
2011 Nov 01
1
rake db:migrate aborted
...grate, but I get this error:
rake aborted! undefined method `prerequisites'' for nil:NilClass
(See full trace by running task with --trace)
When I try with rake db:migrate --trace I get the following errors:
rake aborted!
undefined method `prerequisites'' for nil:NilClass
/Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-2.0.1/lib/
rspec/rails/tasks/rspec.rake:3:in `<top (required)>''
/Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-2.0.1/lib/
rspec-rails.rb:10:in `load''
/Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-2.0.1/l...
2012 Feb 03
10
ruby on rails 3 tutorial book chapter9 Signin Failure
Hi I have problem trying to pass the signin failure test.
This is the test code of the sessions_controller.rb
def create
user = User.authenticate(params[:session][:email],
params[:session][:password])
if user.nil?
flash.now[:error] = "Invalid email/password combination."
@title = "Sign in"
render