Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove deprecated Array#uniq_by and Array#uniq_by! | Carlos Antonio da Silva | 2013-07-01 | 1 | -1/+0 |
| | | | | Use native Array#uniq and Array#uniq! instead. | ||||
* | Keep all methods in object/deep_dup | Piotr Sarnacki | 2012-05-06 | 1 | -1/+0 |
| | |||||
* | Nice logic for deep_dup in rails | Alexey Gaziev | 2012-05-06 | 1 | -0/+1 |
| | |||||
* | remove Array#sample from core_ext | Vasiliy Ermolovich | 2011-12-21 | 1 | -1/+0 |
| | |||||
* | Added Array#prepend as an alias for Array#unshift and Array#append as an ↵ | David Heinemeier Hansson | 2011-08-15 | 1 | -0/+1 |
| | | | | alias for Array#<< [DHH] | ||||
* | Add uniq_by and uniq_by! to Array. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -0/+1 |
| | |||||
* | Convert array extension modules to class reopens | Jeremy Kemper | 2009-03-21 | 1 | -2/+5 |
| | |||||
* | * Introduce ActiveSupport.core_ext Integer, %w(conversions time etc) | Jeremy Kemper | 2009-03-21 | 1 | -15/+3 |
| | | | | | | * Convert some extension modules to simply reopening the class * Remove deprecated Float time extensions * Fold Base64 extension into ActiveSupport::Base64 since stdlib Base64 is gone | ||||
* | Introduce Array.wrap(foo) to wrap the argument in an array unless it's ↵ | Jeremy Kemper | 2009-02-06 | 1 | -0/+2 |
| | | | | already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable. | ||||
* | Added Array#from and Array#to that behaves just from String#from and ↵ | David Heinemeier Hansson | 2007-11-27 | 1 | -0/+2 |
| | | | | | | String#to [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat, consistent load paths | Jeremy Kemper | 2007-10-02 | 1 | -4/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Array#rand (closes #9170) [norbert] | David Heinemeier Hansson | 2007-09-15 | 1 | -2/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Array#extract_options! to encapsulate the pattern of getting an ↵ | David Heinemeier Hansson | 2007-07-24 | 1 | -0/+2 |
| | | | | | | options hash out of a variable number of parameters (closes #8759) [norbert] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Array#to_s(:db) that'll produce a comma-separated list of ids [DHH] ↵ | David Heinemeier Hansson | 2006-05-31 | 1 | -39/+2 |
| | | | | | | Split Grouping into its own file git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make Array#in_groups_of just return the grouped collection if a block isn't ↵ | Marcel Molina | 2006-05-17 | 1 | -1/+5 |
| | | | | | | given. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add Array#split for dividing arrays into one or more subarrays by value or block | Sam Stephenson | 2006-04-13 | 1 | -0/+19 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add Enumerable#group_by and Array#in_groups_of | Marcel Molina | 2006-03-01 | 1 | -0/+16 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Array#to_sentence that'll turn ['one', 'two', 'three'] into 'one, two, ↵ | David Heinemeier Hansson | 2005-09-11 | 1 | -2/+2 |
| | | | | | | and three' #2157 [m.stienstra@fngtps.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improved performance of Routes generation by a factor of 5 #1434 [Nicholas ↵ | David Heinemeier Hansson | 2005-06-24 | 1 | -0/+5 |
Seckar] Added named routes (NEEDS BETTER DESCRIPTION) #1434 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |