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

Remove check for caller_locations in Rails::Engine #20986

Merged
merged 1 commit into from
Oct 5, 2015

Conversation

radar
Copy link
Contributor

@radar radar commented Jul 22, 2015

This is no longer necessary, as the minimum version requirement for Ruby is 2.2.2, and the caller_locations feature was added in Ruby 2.0.0. Since Rails no longer supports pre 2.0 versions of Ruby, there is no need to check first if the Kernel does respond to caller_locations. The answer is: yes it does.

I have not tested this on Rubinius or JRuby because I don't have those installed right now. If someone who does have those installed could make sure that caller_locations is available on both of those I would be most appreciative :)

This is no longer necessary, as the minimum version requirement for Ruby is 2.2.2, and the `caller_locations` feature was added in Ruby 2.0.0. Since Rails no longer supports pre 2.0 versions of Ruby, there is no need to check first if the Kernel does respond to `caller_locations`. The answer is: yes it does.
@jeremy
Copy link
Member

jeremy commented Jul 22, 2015

👍

arthurnn pushed a commit that referenced this pull request Oct 5, 2015
Remove check for caller_locations in Rails::Engine
@arthurnn arthurnn merged commit 280c09a into rails:master Oct 5, 2015
@arthurnn
Copy link
Member

arthurnn commented Oct 5, 2015

Seems like both of them have that now:
rubinius/rubinius@1ea56dc
jruby/jruby@281ead7

@arthurnn
Copy link
Member

arthurnn commented Oct 5, 2015

btw Thanks.

@radar
Copy link
Contributor Author

radar commented Oct 5, 2015

Excellent, thanks for the reassurance @arthurnn!

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

Successfully merging this pull request may close these issues.

None yet

3 participants