Ran into this error message whilst developing tonight: SQLite3::BusyException: database is locked:
I have two models:
This happens when you make any changes manually directly into the SQlite DB Browser (like delete a row or change the value of any column) and forget to save those changes. Any changes made need to be saved (ctrl + s
). If not saved, SQLite locks the Database until u save those changes.
I did the same and my issue got resolved!