aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
* Formatting examplesSebastian Martinez2011-04-171-6/+12
|
* Documented String#blank?Sebastian Martinez2011-04-171-1/+7
|
* Documented Hash#blank?Sebastian Martinez2011-04-171-1/+6
|
* Documented Array#blank?Sebastian Martinez2011-04-171-1/+6
|
* Documented TrueClass#blank?Sebastian Martinez2011-04-171-1/+5
|
* Documented FalseClass#blank?Sebastian Martinez2011-04-171-1/+5
|
* Documented NilClass#blank?Sebastian Martinez2011-04-171-1/+5
|
* Added an example of exception situation on Array#sample docsSebastian Martinez2011-04-151-4/+5
|
* Improved Array#sample documentationSebastian Martinez2011-04-151-1/+3
|
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-121-2/+2
| | | | suggestion!
* Cant use inclusion in commands/application.rb as the frameworks havent all ↵David Heinemeier Hansson2011-04-111-0/+1
| | | | been required yet
* Add support for Object#in? and Object#either? in Active Support [#6321 ↵Prem Sichanugrist, Brian Morearty, John Reitano2011-04-111-0/+20
| | | | | | | | | | | | state:committed] This will allow you to check if an object is included in another object or the list of objects or not. This patch is derived from patch by Brian Morearty and John Reitano on Lighthouse ticket. I've rewrite it and make sure that we support both 'another object' and 'list of objects' version, as it surely be useful to support both.
* added find_zone and find_zone! to AS timezones and changed the AS Railtie to ↵Josh Kalderimis2011-04-052-16/+19
| | | | | | use find_zone! as well as adding Railtie tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Raise on invalid timezoneMarc-Andre Lafortune2011-04-051-8/+12
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* s/ERb/ERB/gAkira Matsuda2011-04-031-1/+1
| | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
* adds a couple of missing AS dependenciesRolf Timmermans2011-03-121-0/+2
|
* move the conditional definition of Float#round downXavier Noria2011-03-092-2/+2
| | | | | | | Rails 3 cherry-picks as little as possible from Active Support. In particular the framework requires the files where extensions are exactly defined, rather than convenience entry points like float.rb and friends. Because of that, it is better to define conditionally rather than require conditionally.
* Use Rubys own Float#round method in versions 1.9 and aboveAndrei Kulakov2011-03-101-1/+1
|
* fixing some tests on ruby 1.9.3Aaron Patterson2011-03-071-0/+23
|
* 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]