Ruby on Rails Friday, July 7, 2017

Rubyonrails-talk,

I commented out the line
   config.active_record.raise_in_transactional_callbacks = true

and did a
   rails s

And got a slew or warnings, e.g.
WARNING: [Bourbon] [Deprecation] `box-sizing` is deprecated and will be removed in 5.0.0. We suggest using an automated prefixing tool, like Autoprefixer.
        on line 10 of /home/real-estate-data-mining/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bourbon-4.3.4/app/assets/stylesheets/_bourbon-deprecate.scss, in `_bourbon-deprecate'
        from line 17 of /home/real-estate-data-mining/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bourbon-4.3.4/app/assets/stylesheets/_bourbon-deprecate.scss, in `_bourbon-deprecate-for-prefixing'
        from line 422 of /home/real-estate-data-mining/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bourbon-4.3.4/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss, in `box-sizing'
        from line 13 of /home/zoom-out-001/app/assets/stylesheets/style.scss
        from line 24 of /home/zoom-out-001/app/assets/stylesheets/application.css.scss

I then ran
 bundle update
reran
 rails s

And the warnings went away.

Hence the question in the subject line: Does application.rb interact with bundle update?


Ralph Shnelvar

No comments:

Post a Comment