Hello,
I am programming an app that downloads a new version of a database SQLite file anytime it needs to update. The problem is that ActiveRecord seems not to respond until I quit and close the applicacion and get back in again.
It could be possible to reinitialize the ActiveRecord database with the updated database SQlite file?
I've tried calling the +[ActiveRecord registerDatabaseName....] after the databse file is updated in the NSDocumentsDirectory but it's not working for me.
Am I missing something? (probably I am). Any help would be great! Thank you so much!
Hello, I am programming an app that downloads a new version of a database SQLite file anytime it needs to update. The problem is that ActiveRecord seems not to respond until I quit and close the applicacion and get back in again.
It could be possible to reinitialize the ActiveRecord database with the updated database SQlite file?
I've tried calling the +[ActiveRecord registerDatabaseName....] after the databse file is updated in the NSDocumentsDirectory but it's not working for me.
Am I missing something? (probably I am). Any help would be great! Thank you so much!