Re: [Rails-core] Deprecation warnings after changing to Rails 5/beta1

2015-12-19 Thread Rafael Mendonça França
Hi Al, this is a now issue. The turbolinks release that will be included in
rails 5 is still in work in progress. These warnings will go when
turbolinks 5 is released

On Sat, Dec 19, 2015, 06:56 Al  wrote:

> Wanted to document this somewhere.
>
>- If you want to use Rails 5.0.0.beta1
>- and you use rails/turbolinks (current released version/2.5.3)
>- and you are getting these messages:
>
> DEPRECATION WARNING: alias_method_chain is deprecated. Please, use
> Module#prepend instead. From module, you can access the original
> method using super. (called from block in tsort_each at
> .../.rvm/rubies/ruby-2.3.0-preview2/lib/ruby/2.3.0/tsort.rb:228)
>
> DEPRECATION WARNING: before_filter is deprecated and will be removed
> in Rails 5.1. Use before_action instead. (called from 
> at .../app/controllers/application_controller.rb:1)
>
>- then if you change you Gemfile to:
>
> gem 'turbolinks', github: 'rails/turbolinks'
>
>
>- then you will get a clean "rake" run.
>
> Tell me if I need to write an issue somewhere.
>
>
> Thanks,
>
> Al
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at https://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


[Rails-core] Deprecation warnings after changing to Rails 5/beta1

2015-12-19 Thread Al
Wanted to document this somewhere.

   - If you want to use Rails 5.0.0.beta1
   - and you use rails/turbolinks (current released version/2.5.3)
   - and you are getting these messages:

DEPRECATION WARNING: alias_method_chain is deprecated. Please, use
Module#prepend instead. From module, you can access the original
method using super. (called from block in tsort_each at
.../.rvm/rubies/ruby-2.3.0-preview2/lib/ruby/2.3.0/tsort.rb:228)

DEPRECATION WARNING: before_filter is deprecated and will be removed
in Rails 5.1. Use before_action instead. (called from 
at .../app/controllers/application_controller.rb:1)

   - then if you change you Gemfile to:

gem 'turbolinks', github: 'rails/turbolinks'


   - then you will get a clean "rake" run.

Tell me if I need to write an issue somewhere.


Thanks,

Al

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.