Nikolay Shebanov
|
7fd36f307a
|
Fix #10932. Treat "" and "::" as invalid on constantize
|
2013-06-14 11:20:15 +04:00 |
|
Aaron Patterson
|
4a7679ebca
|
cleaning up constantize tests
|
2012-11-07 17:13:17 +09:00 |
|
Andrew White
|
3d0e4895cd
|
Handle case where ancestor is not the end of the chain
|
2012-05-19 15:47:35 +01:00 |
|
Marc-Andre Lafortune
|
eb09411460
|
Fix constantize so top level constants are looked up properly.
|
2012-05-19 15:47:35 +01:00 |
|
Marc-Andre Lafortune
|
99e9a733c8
|
Make constantize look down the ancestor chain (excluding Object)
|
2012-05-19 15:47:35 +01:00 |
|
Alex Tambellini
|
7598284c0b
|
safe_constantize should handle wrong constant name NameErrors Fixes #4710
|
2012-01-26 14:19:49 -05:00 |
|
José Valim
|
b2f34d1e35
|
Ensure that constantize just rescues NameError that applies to the constant being currently loaded.
|
2011-09-23 16:21:49 +02:00 |
|
Ryan Oblak
|
310565f537
|
Added ActiveSupport::Inflector.safe_constantize and String#safe_constantize; refactored common constantize tests into ConstantizeTestCases
|
2011-09-23 15:36:33 +02:00 |
|