File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
spec/dummy/config/initializers Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
1818 spec . add_dependency 'jsonapi-parser' , '~> 0.1.0'
1919
2020 spec . add_development_dependency 'rails' , '~> 5.0'
21- spec . add_development_dependency 'sqlite3'
21+ spec . add_development_dependency 'sqlite3' , '~> 1.3.6'
2222 spec . add_development_dependency 'rake' , '~> 11.3'
2323 spec . add_development_dependency 'rspec-rails' , '~> 3.5'
2424 spec . add_development_dependency 'with_model' , '~> 2.0'
Original file line number Diff line number Diff line change 1818Rails . application . config . active_record . belongs_to_required_by_default = true
1919
2020# Do not halt callback chains when a callback returns false. Previous versions had true.
21- ActiveSupport . halt_callback_chains_on_return_false = false
21+ if Rails . version . to_f < 5.2
22+ ActiveSupport . halt_callback_chains_on_return_false = false
23+ end
2224
2325# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
2426Rails . application . config . ssl_options = { hsts : { subdomains : true } }
Original file line number Diff line number Diff line change 1+ if Rails . application . config . respond_to? ( :active_record )
2+ Rails . application . config . active_record . sqlite3 . represent_boolean_as_integer = true
3+ end
You can’t perform that action at this time.
0 commit comments