aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/array
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* fixing Array#from to return consistent resultsJared McFarland2011-04-261-2/+2
|
* Added an example of exception situation on Array#sample docsSebastian Martinez2011-04-151-4/+5
|
* Improved Array#sample documentationSebastian Martinez2011-04-151-1/+3
|
* more "SSL everywhere" for GitHub URLsAkira Matsuda2011-03-071-2/+2
| | | | see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere
* to_sentence should return a duplicateMatthew Mongeau2010-08-171-1/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-142-5/+5
| | | | 's/[ \t]*$//' -i {} \;)
* explains Array.wrap directly, rather by comparison with Kernel#Array which ↵Xavier Noria2010-08-011-1/+22
| | | | is too obscure, leaves the comparison to document the differences, and adds a comparison with the related idiom that uses the splat operator
* Merge remote branch 'rails/master'Xavier Noria2010-07-302-5/+10
|\
| * edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-301-1/+1
| |
| * adds test coverage for edge-cases of Array.wrap, and better documentation ↵Xavier Noria2010-07-281-4/+9
| | | | | | | | for how it differs from Kernel#Array
* | polishing commentsNeeraj Singh2010-07-261-5/+5
|/
* Documentation for Array#sampleThiago Pradi2010-06-281-0/+7
|