aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add support for try to just yield the object to a block if no method is to ↵raggi2010-11-141-1/+13
| | | | be called. Kind of like a tap_if_present.
* HashWithIndifferentAccess should not change the subclass of an arrayLarry Sprock2010-11-141-1/+1
|
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-112-0/+12
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Added Hash#deep_dup function which performs deep duplication on given hashPiotr Sarnacki2010-11-022-0/+12
| |
* | Duck typing hereSantiago Pastorino2010-11-111-1/+1
| |
* | Fix ActiveSupport::TimeWithZone#localtime method with DateTimeAlvaro Bautista2010-11-111-1/+1
| | | | | | | | | | | | [#5344 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Remove unused methodSantiago Pastorino2010-11-101-31/+0
| |
* | Remove useless cgiDenis Odorcic2010-11-102-20/+0
| | | | | | | | | | | | [#5943 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Fix FileStore cache incorrectly regenerating its key from a pathname when a ↵Denis Odorcic2010-11-071-4/+3
| | | | | | | | | | | | | | | | regexp is used in expire_fragment [#5850 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Make safe_append= live on AV::OutputBuffer not AS::SafeBufferMichael Koziarski2010-11-081-1/+0
| | | | | | | | | | | | Conflicts: actionpack/lib/action_view/template/handlers/erb.rb
* | Added support for Erubis <%== tagJan Maurits Faber2010-11-081-0/+1
| | | | | | | | | | | | | | <%== x %> is syntactic sugar for <%= raw(x) %> Signed-off-by: Michael Koziarski <michael@koziarski.com> [#5918 status:committed]
* | OrderedHash#select now preserves order [#5843 state:resolved]James A. Rosen2010-11-071-0/+2
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Ensure that HashWithIndifferentAccess duplication preserves class (for ↵laserlemon2010-11-071-2/+4
| | | | | | | | | | | | sublclasses) and default value [#5724 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | add more tests surrounding camlize in xmlmini, refactor rename_key()Aaron Patterson2010-11-031-6/+2
| |
* | Allowing to_xml :camelize option to be set to :lower to enable ↵Jeremy Holland2010-11-031-1/+7
|/ | | | lower-camelcase tags [#5903 state:resolved]
* save a few method callsAaron Patterson2010-10-221-2/+3
|
* removing wtfalseAaron Patterson2010-10-221-1/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-191-0/+6
|\
| * json_escape makes json invalid doc change [#1485 state:resolved]Neeraj Singh2010-10-161-0/+6
| |
* | explains why ERB::Util#h is removed before being re-aliasedXavier Noria2010-10-181-0/+1
| |
* | replace if ! with unlessNeeraj Singh2010-10-172-2/+2
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | implements weeks_ago and prev_week for Date/DateTime/Time [#5122 ↵Rob Zolkos & Xavier Noria2010-10-162-3/+25
| | | | | | | | state:committed]
* | Revert "refactor delete a little"Aaron Patterson2010-10-151-1/+4
| | | | | | | | This reverts commit f3f34bce8fc2895e05c4a06bb4105d6155fa423d.
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-141-2/+2
|\|
| * fix time.to_formatted_time(:time) exampleAditya Sanghi2010-10-131-2/+2
| |
* | Revert "speeding up flattened version of OrderedHash.[]"Aaron Patterson2010-10-131-2/+3
| | | | | | | | This reverts commit 9c53e82d66d0c34b8f35609b7972f28521d5794d.
* | speeding up flattened version of OrderedHash.[]Aaron Patterson2010-10-131-3/+2
| |
* | refactor delete a littleAaron Patterson2010-10-131-4/+1
| |
* | use unless instead of if !Aaron Patterson2010-10-131-1/+1
|/
* Always pull in version for frameworks (standardize autoload / require / none)wycats2010-10-101-1/+1
|
* Make ActiveSupport load own version.Barry Sears2010-10-101-0/+1
| | | | | | [#5739 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix misleading advice to add 'memcache' to GemfileWincent Colaiuta2010-10-101-1/+1
| | | | | | | | | | | | | | | [#5539 state:committed] Commit 57144388f removed the hard-coded dependency on the memcache-client gem, and added this warning advising people to install it if needed. The problem is, however, that if people follow the advice literally and install the 'memcache' gem, they will wind up with a completely different thing, which is not API compatible with the memcache-client gem and which Rails can't work with. So, be explicit and tell users to install the 'memcache-client' gem. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Override #store to be consistent with #[].Andrea Campi2010-10-101-0/+2
| | | | | | [#5775 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Cleanup logger a bit.José Valim2010-10-081-38/+11
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-061-2/+2
|\
| * Correct documentation that references how *_filter of action_pack are ↵Marcelo Giorgi2010-10-031-2/+2
| | | | | | | | translated into set_callback/run_callback's (from active_support) invocations.
* | Fix copy/paste bugErik Michaels-Ober2010-10-061-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | PERF: more Hash + map changesSantiago Pastorino2010-10-031-3/+3
| |
* | remove another lolinjectAaron Patterson2010-10-011-1/+1
| |
* | speed up index_by by removing a lolinjectAaron Patterson2010-10-011-4/+1
| |
* | removing AS::Testing::Default in favor of just undefing default_testAaron Patterson2010-10-012-11/+1
|/
* Move uri parser to AS as URI.parser method to reuse it in AP and ARes.Emilio Tagua2010-09-281-0/+8
|
* revises RDoc of Hash#to_param to be more precise about orderingXavier Noria2010-09-281-2/+2
|
* let Hash#to_param and Hash#to_query sort againXavier Noria2010-09-281-2/+3
| | | | | This was a regression introduced in 5c858220085dc4ddc1bec496747059dfbe32f1da. We bring sorting back because people rely on it, eg for constructing consistent cache keys.
* after_create in ActiveModel should in the order specifiedNeeraj Singh2010-09-271-1/+1
| | | | | | [#5650 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'miloops/warnings'José Valim2010-09-271-0/+1
|\ | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb
| * Remove method if already exists to avoid warnings.Emilio Tagua2010-09-271-0/+1
| |
* | Call it compile_methods! and do the same on AM.José Valim2010-09-271-3/+3
| |
* | Make assert_valid_keys slightly faster.thedarkone2010-09-271-4/+6
| |
* | No need for an extra wrapper array.thedarkone2010-09-271-1/+1
| |