Database is locked
hey my problem is when i try to update my database it goes throu开发者_开发知识库gh the update query fine but then it crashes giving me a error in the console saying "Error while updating 'Database is locked'". Does any one have a clue why is it so?
Usually because your database is in another transaction. For example, if you have another thread going or another connection and it is in a transaction.
closing the rails console session resolved this issue for me.
精彩评论