aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/array
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove deprecated Array#uniq_by and Array#uniq_by!Carlos Antonio da Silva2013-07-011-19/+0
| | | | Use native Array#uniq and Array#uniq! instead.
* Use faster Array.new instead of []*paddingVipul A M2013-05-021-1/+1
|
* documentation fixes for Array.wrap and AR::Validations::AssociatedValidatorHrvoje Šimić2013-04-171-6/+6
|
* fix Array#uniq_by! docs [ci skip]Francesco Rodriguez2013-04-041-2/+2
|
* fix broken format in Array#to_sentence [ci skip]Francesco Rodriguez2013-04-041-3/+5
|
* Updating Array access docs more consistentMatt Bridges2013-01-101-4/+4
| | | | [ci skip]
* prefer american spelling of 'behavior'Gosha Arinich2013-01-071-1/+1
|
* Remove Reference to Ruby 1.8.7John Kelly2012-12-201-2/+1
|
* Replace comments' non-breaking spaces with spacesclaudiob2012-12-041-3/+3
| | | | | | | | | | Sometimes, on Mac OS X, programmers accidentally press Option+Space rather than just Space and don’t see the difference. The problem is that Option+Space writes a non-breaking space (0XA0) rather than a normal space (0x20). This commit removes all the non-breaking spaces inadvertently introduced in the comments of the code.
* Simplify (and optimize)Marc-Andre Lafortune2012-11-161-3/+3
|
* Use Integer#div instead of Integer#/ to avoid side effects from mathnMarc-Andre Lafortune2012-11-161-1/+1
|
* Use `tag!` instead of `method_missing` in `to_xml` conversions.Nikita Afanasenko2012-11-041-3/+3
| | | | Since version `3.0.x` `Builder` caches method passed to `method_missing` each time. This commit replaces `method_missing` call with `tag!` call to prevent method redefinition on each `to_xml` call with the same builder.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-031-1/+1
|\ | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb activerecord/lib/active_record/attribute_methods.rb guides/source/working_with_javascript_in_rails.md
| * fix output messages - docs [ci skip]Francesco Rodriguez2012-10-222-2/+2
| |
| * More changes around 1.9 hash syntaxAvnerCohen2012-10-211-1/+1
| | | | | | | | Added missing space in previous hash related commit
* | Make caller attribute in deprecation methods optionalAlexey Gaziev2012-10-301-2/+2
|/
* Hash Syntax changes to 1.9 formatAvnerCohen2012-10-201-1/+1
|
* let (array|hash)/conversions.rb load the extensions in ↵Xavier Noria2012-10-091-0/+2
| | | | object/to_(param|query).rb
* Fix indentation and update documentation for Array#wrap for Ruby 1.9Jo Liss2012-09-201-9/+10
|
* update AS/core_ext docs [ci skip]Francesco Rodriguez2012-09-125-10/+9
|
* Ensure Array#to_sentence does not modify given hashCarlos Antonio da Silva2012-06-261-8/+3
| | | | | Also simplify I18n logic for Array#to_sentence, doing only one lookup for all keys and using merge!, instead of one lookup for each option key.
* some copy edits [ci skip]Vijay Dev2012-05-301-4/+4
|
* Updates Array conversions method documentations and clean upsAlvaro Pereyra2012-05-281-4/+0
|
* fix empty lines [ci skip]Francesco Rodriguez2012-05-281-1/+0
|
* Merge branch 'master' of github.com:lifo/docrailsAlvaro Pereyra2012-05-284-22/+82
|\
| * add :locale option to Array#to_sentence documentation [ci skip]Francesco Rodriguez2012-05-281-0/+27
| |
| * add examples to Array#to_sentence [ci skip]Francesco Rodriguez2012-05-281-4/+24
| |
| * update documentation of array/access methods [ci skip]Francesco Rodriguez2012-05-281-8/+16
| |
| * Update examples of Array #in_groups and #in_groups_ofAlexey Vakhov2012-05-251-10/+13
| | | | | | | | | | Examples should be not square to visually underline a difference between Array#in_groups and Array#in_groups_of.
* | Updates documentation with cleaner examples and texts [ci skip]Alvaro Pereyra2012-05-281-1/+14
| |
* | Remove blank trailing commentsHenrik Hodne2012-05-202-2/+0
|/ | | | | | | For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace with the first match, and voilà! Note that the regex matches a little bit too much, so you probably want to `git add -i .` and go through every single diff to check if it actually should be changed.
* remove docs related to ruby 1.8 from Array#wrapVasiliy Ermolovich2012-05-121-3/+0
|
* Keep all methods in object/deep_dupPiotr Sarnacki2012-05-061-6/+0
|
* Nice logic for deep_dup in railsAlexey Gaziev2012-05-061-0/+6
|
* AS core_ext refactoring pt.2Alexey Gaziev2012-04-293-52/+54
|
* AS core_ext refactoringAlexey Gaziev2012-04-292-2/+2
|
* adds deprecation warnings to the RDoc of Array#uniq_by(!)Xavier Noria2011-12-201-2/+6
|
* deprecate Array#uniq_by and Array#uniq_by! in favor of Array#uniq and ↵Vasiliy Ermolovich2011-12-221-6/+8
| | | | Array#uniq! from ruby 1.9
* remove Array#sample from core_extVasiliy Ermolovich2011-12-211-30/+0
|
* requiring enumerator is not nessessary in ruby 1.9Sergey Nartimov2011-12-201-2/+0
|
* Fixed misleading docs for String#to_formatted_s(:db)Martin Svalin2011-10-201-3/+3
|
* Added Array#prepend as an alias for Array#unshift and Array#append as an ↵David Heinemeier Hansson2011-08-151-0/+7
| | | | alias for Array#<< [DHH]
* Array.wrap should follow Kernel#Array semantics when the object's to_ary is ↵Jon Leighton2011-06-301-1/+1
| | | | nil. In this case, the object should be wrapped.
* Fixed minor typo: 'Arraw' to 'Array'thoefer2011-06-111-1/+1
|
* avoid creating range objectsAaron Patterson2011-05-291-1/+1
|
* fixes incorrect error message for sample methodVijay Dev2011-05-071-1/+1
|
* use new AR calls in examplesVijay Dev2011-05-071-2/+2
|
* fix comment alignmentVijay Dev2011-05-071-3/+2
|
* fixed a small bug with Array#from core_extJosh Kalderimis2011-04-271-1/+1
|
* using @tenderlove's suggested implementation to speed things upJared McFarland2011-04-271-1/+1
|