Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings #3

Open
danielmoniz opened this issue Jan 27, 2017 · 0 comments
Open

Deprecation warnings #3

danielmoniz opened this issue Jan 27, 2017 · 0 comments

Comments

@danielmoniz
Copy link

There seem to be various warnings depending on where in the app you go. On the index page, for example, I get the warning:

DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from raise_in_transactional_callbacks= at /Users/daniel.moniz/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/transactions.rb:283)

I've also seen the following on a student's app (but have not yet been able to reproduce on mine):

DEPRECATION WARNING: `render :text` is deprecated because it does not actually render a `text/plain` response. Switch to `render plain: 'plain text'` to render as `text/plain`, `render html: '<strong>HTML</strong>'` to render as `text/html`, or `render body: 'raw'` to match the deprecated behavior and render with the default Content-Type, which is `text/html`. (called from create at /Users/veils/bitmaker/projects/week_03_ruby_intro/photogur/app/controllers/pictures_controller.rb:19)

I'm guessing that this issue exists on a bunch of assignments!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant