Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed minor typo: 'Arraw' to 'Array' | thoefer | 2011-06-11 | 1 | -1/+1 |
| | |||||
* | avoid creating range objects | Aaron Patterson | 2011-05-29 | 1 | -1/+1 |
| | |||||
* | fixes incorrect error message for sample method | Vijay Dev | 2011-05-07 | 1 | -1/+1 |
| | |||||
* | use new AR calls in examples | Vijay Dev | 2011-05-07 | 1 | -2/+2 |
| | |||||
* | fix comment alignment | Vijay Dev | 2011-05-07 | 1 | -3/+2 |
| | |||||
* | fixed a small bug with Array#from core_ext | Josh Kalderimis | 2011-04-27 | 1 | -1/+1 |
| | |||||
* | using @tenderlove's suggested implementation to speed things up | Jared McFarland | 2011-04-27 | 1 | -1/+1 |
| | |||||
* | fixing Array#from to return consistent results | Jared McFarland | 2011-04-26 | 1 | -2/+2 |
| | |||||
* | Added an example of exception situation on Array#sample docs | Sebastian Martinez | 2011-04-15 | 1 | -4/+5 |
| | |||||
* | Improved Array#sample documentation | Sebastian Martinez | 2011-04-15 | 1 | -1/+3 |
| | |||||
* | more "SSL everywhere" for GitHub URLs | Akira Matsuda | 2011-03-07 | 1 | -2/+2 |
| | | | | see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere | ||||
* | to_sentence should return a duplicate | Matthew Mongeau | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 2 | -5/+5 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | explains Array.wrap directly, rather by comparison with Kernel#Array which ↵ | Xavier Noria | 2010-08-01 | 1 | -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 Noria | 2010-07-30 | 2 | -5/+10 |
|\ | |||||
| * | edit pass to apply API guideline wrt the use of "# =>" in example code | Xavier Noria | 2010-07-30 | 1 | -1/+1 |
| | | |||||
| * | adds test coverage for edge-cases of Array.wrap, and better documentation ↵ | Xavier Noria | 2010-07-28 | 1 | -4/+9 |
| | | | | | | | | for how it differs from Kernel#Array | ||||
* | | polishing comments | Neeraj Singh | 2010-07-26 | 1 | -5/+5 |
|/ | |||||
* | Documentation for Array#sample | Thiago Pradi | 2010-06-28 | 1 | -0/+7 |
| | |||||
* | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 1 | -1/+1 |
| | |||||
* | removes Array#random_element and backports Array#sample from Ruby 1.9, ↵ | Xavier Noria | 2010-06-05 | 1 | -4/+18 |
| | | | | thanks to Marc-Andre Lafortune | ||||
* | Unforce builder from AS | Santiago Pastorino | 2010-06-01 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Unforce i18n from AS | Santiago Pastorino | 2010-05-31 | 1 | -3/+9 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Renames Array#rand -> Array#random_element | Rizwan Reza | 2010-05-17 | 1 | -11/+1 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Change on Array extension from rand => random_element [#4555 state:committed] | Santiago Pastorino | 2010-05-16 | 1 | -1/+11 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Move several configuration values from Hash to ActiveSupport::XmlMini, which ↵ | José Valim | 2010-04-29 | 1 | -15/+18 |
| | | | | | | both Hash and Array depends on. Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array. | ||||
* | array.to_xml should be able to handle all types of data elements [#4490 ↵ | Neeraj Singh | 2010-04-29 | 1 | -18/+13 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Made arrays of ActiveRecords, and any classes, with namespaces convert to ↵ | mfoster | 2010-04-10 | 1 | -1/+1 |
| | | | | | | valid xml. [#3824 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Limit Array#extract_options! to directl instances of Hash and HWIA. Add ↵ | wycats | 2010-03-27 | 1 | -1/+16 |
| | | | | extractable_options? to Hash so that subclasses of Hash can opt-into extractable behavior. This fixes an issue where respond_with wasn't working with subclasses of Hash that were provided by other libraries (such as CouchDB or Mashie) [#4145 state:resolved] | ||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -1/+0 |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | ||||
* | Remove deprecated behavior since 2.3. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -13/+0 |
| | |||||
* | Add uniq_by and uniq_by! to Array. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -0/+17 |
| | |||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 2 | -1/+10 |
| | |||||
* | Fix the i18n dependency problem | David Heinemeier Hansson | 2009-12-27 | 1 | -0/+1 |
| | |||||
* | Ruby 1.9.2: work around Array allowing method_missing for to_ary | Jeremy Kemper | 2009-11-13 | 1 | -4/+3 |
| | |||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 1 | -16/+0 |
| | |||||
* | Array.wrap(struct) needs to return the wrapped struct | Yehuda Katz | 2009-10-28 | 1 | -12/+7 |
| | |||||
* | This is all that's needed in 1.8.7+ | Yehuda Katz | 2009-10-28 | 1 | -10/+11 |
| | |||||
* | Restore split between require-time and runtime load path mungery. Simplifies ↵ | Jeremy Kemper | 2009-09-24 | 1 | -1/+1 |
| | | | | vendor requires. | ||||
* | Rollback AS bundler work and improve activation of vendored dependencies | Joshua Peek | 2009-09-13 | 1 | -1/+1 |
| | |||||
* | Fix that Hash#to_xml and Array#to_xml shouldn't modify their options hashes ↵ | David Burger | 2009-08-09 | 1 | -0/+1 |
| | | | | | | [#672 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+1 |
| | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -1/+5 |
| | |||||
* | Convert array extension modules to class reopens | Jeremy Kemper | 2009-03-21 | 5 | -346/+309 |
| | |||||
* | * Introduce ActiveSupport.core_ext Integer, %w(conversions time etc) | Jeremy Kemper | 2009-03-21 | 2 | -24/+18 |
| | | | | | | * 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 | ||||
* | Force all internal calls to Array#to_sentence to use English [#2010 ↵ | David Heinemeier Hansson | 2009-02-27 | 1 | -3/+2 |
| | | | | state:resolved] | ||||
* | Deprecated warnings for :skip_last_command and :connector of to_sentence ↵ | Guillermo Álvarez | 2009-02-22 | 1 | -5/+19 |
| | | | | | | [#1847 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Array#wrap should use #to_ary so association collections and named scopes ↵ | Will Bryant | 2009-02-10 | 1 | -2/+7 |
| | | | | | | | | are not re-wrapped [#1935 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Introduce Array.wrap(foo) to wrap the argument in an array unless it's ↵ | Jeremy Kemper | 2009-02-06 | 1 | -0/+19 |
| | | | | already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable. | ||||
* | Change Array#to_sentence I18n options to pass comma and space character from ↵ | Akira Matsuda | 2008-12-08 | 1 | -9/+10 |
| | | | | | | | | outside. [#1397 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |