-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
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!
Metadata
Metadata
Assignees
Labels
No labels