What you are seen comes from better_errors. You must be in a dev instance.
You jumped in the wrong commit and the db is inconsistent with that commit.
Why not nuke your development environment and start over if you messed up the database?
rake db:drop db:create db:migrate will give you a fresh start.