Closed zackgilbert closed 4 months ago
It looks like it's because https://github.com/oldmoe/litestack/blob/cb0d2fa80055c80b7e2aee5b55aefe3376daffe7/lib/litestack/railtie.rb#L7 isn't checking to see if config.active_record.sqlite3_production_warning
exists.
This is how Rails handles this check now: https://github.com/rails/rails/blob/main/activerecord/lib/active_record/railtie.rb#L201C7-L201C64
So wrapping:
if config.active_record.key?(:sqlite3_production_warning)
around it might be the best option?
Hello. Tried to get litestack working with the latest (as of this writing) Rails main branch and it's currently failing because in Rails 7.2.0-alpha, they removed the
sqlite3_production_warning
config warning about using SQLite in production.When I try to do anything after adding the gem, I get the following:
Steps to reproduce:
I used the following rails new command:
then:
I'm then no longer able to do anything (
rails c
,bin/dev
,rails generate litestack:install
, etc) without receiving the above error.