Sometimes in Rails you will get a nasty error like

ActiveRecord::StatementInvalid (SQLite3::BusyException: database is locked:...

Well, what the heck is that? It means that the Sqlite database used in Rails is locked and cannot process your request. There is a link in stack overflow  that can help you to solve it. To know about it click here http://stackoverflow.com/questions/78801/sqlite3busyexception or follow my way,just goto your console where rails server is running, press ctrl+c to stop it and just restart it once again by typing rails s and that’s it. It should work.

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: