sqlite3 developement mode and message belongs_to error fixed