This project is archived and is in readonly mode.
Remove unnecessary require in YAML JSON backend
Reported by Cheah Chu Yeow | May 21st, 2009 @ 11:12 AM | in 2.x
In yaml.rb (the YAML JSON backend), 'active_support/core_ext/string/starts_ends_with' is required but not used.
Just need to delete that line :)
Impossibly trivial but I spotted this while working on a patch.
Comments and changes to this ticket
-
Jeremy Kemper May 21st, 2009 @ 05:56 PM
- State changed from new to invalid
53: if ustr.start_with?('u') 69: if ustr.start_with?('u')
String#start_with? is present in 1.8.7 and later; Active Support provides a forward-compatibility shim for older versions.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>