This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
7698500b6e
rails--rails
/
activesupport
/
test
/
autoloading_fixtures
/
circular2.rb
7 lines
62 B
Ruby
Raw
Normal View
History
Unescape
Escape
Use frozen-string-literal in ActiveSupport
2017-07-09 08:06:36 -04:00
# frozen_string_literal: true
[Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`
2017-07-10 09:39:13 -04:00
detect circular constant autoloading Nowadays circular autoloads do not work, but the user gets a NameError that says some constant is undefined. That's puzzling, because he is normally trying to autoload a constant he knows can be autoloaded. With this check we can give a better error message.
2012-08-28 14:27:59 -04:00
Circular1
class
Circular2
end
Copy permalink