def verify_user_exists
redirect_to :controller => "accounts", :action => "signup" if User.find_all.length == 0
end
eris%
So presumably your live db has a user record in it already.
-e test
Says '/' isn't found.
Wouldn't expect that to work sensibly - the test db is for the testsuite, I'm not sure it's going to do
sane things if you actually try to use it.
···
--
'Avoid parking tickets by leaving your windscreen wipers turned to 'fast wipe' whenever you leave your car parked illegally.'
-- Top Tips
Rasputin :: Jack of All Trades - Master of Nuns
>So presumably your live db has a user record in it already.
However, I see now you're correct: There are five users there,
such as bob, longbob, and existingbob. Maybe I contaminated
the db somehow...
They're users from the testsuite (see test/fixtures/users.yml),
so maybe you got the db mixed up with the live one or something?
OK... I assumed that since it was for test purposes, it would also
work for a (manual) test of the interface...
It'd be nice if it did, but I wouldn't count on it
Running development with breakpoints enabled is fantastic if you need to debug
bits and pieces of your app.
···
--
'The State is the kind of organization which, though it does big things
badly, does small things badly too.'
-- John Kenneth Galbraith
Rasputin :: Jack of All Trades - Master of Nuns