aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
...
* reorganizes the RDoc of Hash#to_paramXavier Noria2011-03-071-6/+14
|
* Improved docs for Hash#to_param methodDalibor Nasevic2011-03-061-3/+2
|
* more "SSL everywhere" for GitHub URLsAkira Matsuda2011-03-071-2/+2
| | | | see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere
* removes merge conflictsXavier Noria2011-03-062-15/+0
|
* merges railsXavier Noria2011-03-056-34/+29
|\
| * revises the RDoc of Hash#reverse_mergeXavier Noria2011-03-051-13/+7
| |
| * copy-edits 108561fXavier Noria2011-03-051-1/+1
| |
| * Active Support typos.R.T. Lechow2011-03-053-3/+3
| |
| * Adds link to Object.blank? from Object.present?Jonathon D. Jones2011-03-051-1/+1
| |
| * Clarify comment by removing french reference ('a la'). Should improve ↵Ben Orenstein2011-03-051-1/+1
| | | | | | | | readability for non-native english speakers.
| * Example descriptions and their examples were flipped. Fix.Ben Orenstein2011-03-051-3/+3
| |
| * Correct example that did not do what it claimed. Rework explanation.Ben Orenstein2011-03-051-5/+5
| |
| * refactored Time#<=> and DateTime#<=> by removing unnecessary calls without ↵Diego Carrion2011-03-042-19/+4
| | | | | | | | | | | | losing performance Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * updated Time, Date and DateTime current methods in AS to use Time.zone and ↵Josh Kalderimis2011-02-284-8/+9
| | | | | | | | | | | | not Time.zone_default. [#6410 state:committed]
* | Active Support typos.R.T. Lechow2011-03-043-3/+3
| |
* | Adds link to Object.blank? from Object.present?Jonathon D. Jones2011-03-031-1/+1
| |
* | Clarify comment by removing french reference ('a la'). Should improve ↵Ben Orenstein2011-02-261-1/+1
| | | | | | | | readability for non-native english speakers.
* | Example descriptions and their examples were flipped. Fix.Ben Orenstein2011-02-261-3/+3
| |
* | Correct example that did not do what it claimed. Rework explanation.Ben Orenstein2011-02-261-5/+5
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-212-10/+24
|\
| * Add a forgotten word.Ben Orenstein2011-02-191-1/+1
| |
| * Improve clarity of example. Make it follow guidelines for output display.Ben Orenstein2011-02-191-5/+5
| |
| * Add a clearer example for with_options (lifted from the Active Support guide).Ben Orenstein2011-02-191-5/+19
| |
* | added Range#count? for Ruby 1.8Diego Carrion2011-02-192-0/+4
|/ | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* merges docrailsXavier Noria2011-02-181-1/+1
|\
| * Correct bad wording in description.Ben Orenstein2011-02-141-1/+1
| |
* | Add Date#rfc3339 and Date#iso8601 to ASSantiago Pastorino2011-02-131-0/+6
| |
* | Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-101-31/+0
| | | | | | | | | | | | the same same. This also changes how safe_join works, if items or the separator are not html_safe they are html_escape'd, a html_safe string is always returned. Signed-off-by: José Valim <jose.valim@gmail.com>
* | Revert "Removed Array#safe_join in AS core_ext and moved it to a view helper ↵José Valim2011-02-101-0/+31
| | | | | | | | | | | | | | | | with the same same." Applied the wrong version. This reverts commit 98c0c5db50a7679b3d58769ac22cb0a27a62c930.
* | Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-101-31/+0
| | | | | | | | the same same.
* | Corrected the html_safe implementation for Array. Moved the html safe ↵Josh Kalderimis2011-02-101-7/+22
| | | | | | | | version of join to its own method (safe_join) as not to degrade the performance of join for unrelated html_safe use. [#6298 state:resolved]
* | Initial html_safe implemention for ArrayPaul Hieromnimon2011-02-101-0/+16
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-051-4/+8
|\
| * Change Time.zone= docs.Brian Morearty2011-02-041-4/+8
| | | | | | | | | | Update the example to show how to reset the current thread's Time.zone upon exiting a request.
* | Ruby 1.8.7+ provides to_date/to_datetime, AS just makes them public.John Firebaugh2011-02-031-22/+0
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Preserve fractional seconds in DateTime#to_timeJohn Firebaugh2011-02-031-1/+1
|/ | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* make sure we play nicely when syck is activatedAaron Patterson2011-01-281-5/+8
|
* Psych correctly gets visitor for SafeBuffer from superclassbrainopia2011-01-281-2/+5
|
* Remove unneeded yaml_as declarationbrainopia2011-01-281-2/+0
|
* prefering psych as the yaml parser if possible, fixing assertions for YAML ↵Aaron Patterson2011-01-211-0/+6
| | | | 1.1 compatibility
* fixing psych support in big decimal, fixing tests to support YAML 1.1Aaron Patterson2011-01-211-0/+7
|
* Class.__subclasses__ was removed from Rubinius.John Firebaugh2011-01-181-34/+20
| | | | | https://github.com/evanphx/rubinius/issues/issue/11 https://github.com/evanphx/rubinius/commit/2fccbb5dad5cb3f5414d635547290538cfc0a2d4
* In AS, only inflector/methods is need in proxy_wrappers.rb, as well as date, ↵Josh Kalderimis2011-01-123-3/+3
| | | | | | date_time, and time conversions.rb. This fixes an issue when requiring json and AS saying that i18n is also required. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* adding to_d to BigDecimalAaron Patterson2011-01-101-0/+4
|
* corrected docs for Hash#to_xml and added examples.Nick Sutterer2011-01-061-2/+14
|
* :method: is not needed when RDoc can detect itSantiago Pastorino2010-12-021-5/+0
|
* Don't depend on rubygems loading thread (for Mutex)raggi2010-11-251-0/+1
|
* class inheritable attributes is used no more! all internal use of class ↵Josh Kalderimis2010-11-201-0/+9
| | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com>
* applies API conventions to the RDoc of json_encodeXavier Noria2010-11-201-10/+12
| | | | | | | | * Examples running with the text are preferred over separate Example sections. * No need to call puts, in # => we show the return value, not STDOUT. * Say explicitly that double quotes are removed. * Specify that we are talking \uXXX, rather than, say, HTML entities.
* Revert "Quick fix for not escaping []s (not ideal)"Santiago Pastorino2010-11-182-5/+3
| | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6..