-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Now that SQLite support has been removed, what is the best way to develop an app that needs advisory locks: Change development to another database, or patch with_advisory_lock to do nothing on SQLite rather than give the error
NoMethodError: undefined method 'with_advisory_lock_if_needed' for an instance of ActiveRecord::ConnectionAdapters::SQLite3Adapter (NoMethodError)
?
The former has the burden of having a database server set up and running, but the latter doesn't exercise the locking code in development, even though a lock will never wait with single-threaded access.
I'd like the option of a no-op to simplify initial development, changing the dev database closer to first deployment.
Is it easy to make everything a no-op on SQLite?
Metadata
Metadata
Assignees
Labels
No labels