aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Fix doc example for dasherizeMarc-Andre Lafortune2012-06-151-1/+1
| | |
* | | remove unnecessary requireSergey Nartimov2012-05-282-4/+0
| | | | | | | | | | | | | | | AS::Multibyte are no longer required by access and filters string core extensions.
* | | Update the documentation and add CHANGELOG entryRafael Mendonça França2012-05-261-1/+1
| | |
* | | doesn't modify params in SafeBuffer#%Vasiliy Ermolovich2012-05-181-3/+1
| | |
* | | Revert "Merge pull request #6354 from lest/patch-1"Carlos Galdino + Rafael Mendonça França2012-05-162-0/+4
| | | | | | | | | | | | | | | | | | | | | This reverts commit e8feaff60b9c04d34ad234f7d17b5d2ad9cc7a24, reversing changes made to 9adf28c026070afb78b80027521a4ddddd68d697. Reason: This broke the actionmailer tests
* | | remove unnecessary requireSergey Nartimov2012-05-162-4/+0
| | | | | | | | | | | | | | | - access & filters don't use multibyte ext - transliterate requires only AS::Multibyte but not multibyte ext
* | | fix safe string interpolation with SafeBuffer#%, closes #6352Vasiliy Ermolovich2012-05-161-0/+14
| | |
* | | remove backported string interpolationVasiliy Ermolovich2012-05-151-2/+0
| | |
* | | removing unnecessary 'examples' noise from activesupportFrancesco Rodriguez2012-05-131-1/+1
| | |
* | | removing trailing spacesFrancesco Rodriguez2012-05-111-3/+3
| | |
* | | added docs to String#to_datetimeFrancesco Rodriguez2012-05-111-0/+6
| | |
* | | added docs to String#to_dateFrancesco Rodriguez2012-05-111-0/+6
| | |
* | | added examples to String#exclude?Francesco Rodriguez2012-05-111-1/+6
| | |
* | | remove unnecessary 'examples' noiseFrancesco Rodriguez2012-05-113-9/+0
| | |
* | | fix String#last exampleFrancesco Rodriguez2012-05-111-1/+1
| | |
* | | fix String#last exampleFrancesco Rodriguez2012-05-111-1/+1
| | |
* | | added docs to String#lastFrancesco Rodriguez2012-05-111-0/+10
| | |
* | | improve String#first docsFrancesco Rodriguez2012-05-111-4/+3
| | |
* | | fix typo in String#firstFrancesco Rodriguez2012-05-111-1/+1
| | |
* | | added docs to String#firstFrancesco Rodriguez2012-05-111-0/+11
| | |
* | | added docs to String#fromFrancesco Rodriguez2012-05-111-0/+13
| | |
* | | improve String#to docsFrancesco Rodriguez2012-05-111-2/+2
| | |
* | | added docs to String#toFrancesco Rodriguez2012-05-111-0/+13
| | |
* | | added docs to String#atFrancesco Rodriguez2012-05-111-0/+25
| | |
* | | Tests for regexp separator in String#truncateAlexey Gaziev2012-04-291-1/+4
| | | | | | | | | | | | https://github.com/rails/rails/commit/5a7513593f64e0ff7e4de1ee37bac5eeddfae270
* | | String quotes and trailing spacesAlexey Gaziev2012-04-294-58/+58
| | |
* | | AS core_ext refactoring pt.2Alexey Gaziev2012-04-292-3/+5
| | |
* | | AS core_ext refactoringAlexey Gaziev2012-04-293-23/+44
| |/ |/|
* | Stop SafeBuffer#clone_empty from issuing warningsCarlos Antonio da Silva2012-03-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Logic in clone_empty method was dealing with old @dirty variable, which has changed by @html_safe in this commit: https://github.com/rails/rails/commit/139963c99a955520db6373343662e55f4d16dcd1 This was issuing a "not initialized variable" warning - related to: https://github.com/rails/rails/pull/5237 The logic applied by this method is already handled by the [] override, so there is no need to reset the variable here.
* | Ensure [] respects the status of the buffer.José Valim2012-02-291-12/+18
| |
* | delete vulnerable AS::SafeBuffer#[]Akira Matsuda2012-02-201-6/+0
| |
* | add AS::SafeBuffer#clone_emptyAkira Matsuda2012-02-201-0/+6
| |
* | revise docs [ci skip]Vijay Dev2012-02-011-1/+1
| |
* | Move escaping regexps to constantsCarlos Antonio da Silva2012-02-011-2/+4
| |
* | Move escape_once logic to ERB::Util, where it belongs toCarlos Antonio da Silva2012-02-011-0/+15
| | | | | | | | | | | | All the logic is based on the HTML_ESCAPE constant available in ERB::Util, so it seems more logic to have the entire method there and just delegate the helper to use it.
* | Change ActiveRecord::Errors to ActiveModel::Errors in guidesCarlos Antonio da Silva2012-01-251-2/+2
| | | | | | | | | | | | | | Use ActiveModel::Errors in inflection example docs as well. Also fixes wrong information and link to locale file related to Errors#full_messages in I18n guide.
* | refactor String#truncate not to use mb_charsSergey Nartimov2012-01-041-6/+5
| |
* | No need to override the to_yaml method in ActiveSupporte::SafeBufferRafael Mendonça França2012-01-041-5/+0
| |
* | No need to check if YAML::ENGINE is defined since ruby 1.9 does thatRafael Mendonça França2012-01-041-1/+1
| |
* | remove checks for encodings availabilitySergey Nartimov2011-12-251-88/+24
| |
* | deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-1/+4
| |
* | no more need to make Time#to_date and Time#to_datetime publicSergey Nartimov2011-12-221-1/+0
| | | | | | | | they are public in actual 1.9 ruby version (tested at least in 1.9.2-p180)
* | We don't need a special html_escape for 1.8 anymoreGuillermo Iguaran2011-12-211-27/+15
| |
* | remove support for ruby 1.8 in AS String extensionsSergey Nartimov2011-12-211-29/+0
| |
* | Initial pass at removing dead 1.8.x code from Active Support.José Valim2011-12-202-71/+49
| | | | | | | | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome.
* | Remove duplicate html_escape docsJeremy Kemper2011-12-111-10/+1
| |
* | Use 1.9 native XML escaping to speed up html_escape and shush regexp warningsJeremy Kemper2011-12-111-15/+36
| | | | | | | | | | | | | | | | | | | | | | | | length user system total real before 6 0.010000 0.000000 0.010000 ( 0.012378) after 6 0.010000 0.000000 0.010000 ( 0.012866) before 60 0.040000 0.000000 0.040000 ( 0.046273) after 60 0.040000 0.000000 0.040000 ( 0.036421) before 600 0.390000 0.000000 0.390000 ( 0.390670) after 600 0.210000 0.000000 0.210000 ( 0.209094) before 6000 3.750000 0.000000 3.750000 ( 3.751008) after 6000 1.860000 0.000000 1.860000 ( 1.857901)
* | fix nodocsVijay Dev2011-12-091-1/+1
| |
* | Restore performance of ERB::Util.html_escapeJon Jensen2011-12-031-1/+1
|/ | | | | | | Revert html_escape to do a single gsub again, but add the "n" flag (no language, i.e. not multi-byte) to protect against XSS via invalid utf8 Signed-off-by: José Valim <jose.valim@gmail.com>
* fixes a typo (thanks to Alexey Vakhov)Xavier Noria2011-10-301-1/+1
|