Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Keep all methods in object/deep_dup | Piotr Sarnacki | 2012-05-06 | 1 | -6/+0 | |
| | ||||||
* | Nice logic for deep_dup in rails | Alexey Gaziev | 2012-05-06 | 1 | -0/+6 | |
| | ||||||
* | AS core_ext refactoring pt.2 | Alexey Gaziev | 2012-04-29 | 3 | -52/+54 | |
| | ||||||
* | AS core_ext refactoring | Alexey Gaziev | 2012-04-29 | 2 | -2/+2 | |
| | ||||||
* | adds deprecation warnings to the RDoc of Array#uniq_by(!) | Xavier Noria | 2011-12-20 | 1 | -2/+6 | |
| | ||||||
* | deprecate Array#uniq_by and Array#uniq_by! in favor of Array#uniq and ↵ | Vasiliy Ermolovich | 2011-12-22 | 1 | -6/+8 | |
| | | | | Array#uniq! from ruby 1.9 | |||||
* | remove Array#sample from core_ext | Vasiliy Ermolovich | 2011-12-21 | 1 | -30/+0 | |
| | ||||||
* | requiring enumerator is not nessessary in ruby 1.9 | Sergey Nartimov | 2011-12-20 | 1 | -2/+0 | |
| | ||||||
* | Fixed misleading docs for String#to_formatted_s(:db) | Martin Svalin | 2011-10-20 | 1 | -3/+3 | |
| | ||||||
* | Added Array#prepend as an alias for Array#unshift and Array#append as an ↵ | David Heinemeier Hansson | 2011-08-15 | 1 | -0/+7 | |
| | | | | alias for Array#<< [DHH] | |||||
* | Array.wrap should follow Kernel#Array semantics when the object's to_ary is ↵ | Jon Leighton | 2011-06-30 | 1 | -1/+1 | |
| | | | | nil. In this case, the object should be wrapped. | |||||
* | 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. |