aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* class inheritable attributes is used no more! all internal use of class ↵Josh Kalderimis2010-11-202-0/+14
| | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com>
* I18n is always loaded on boot by Active Model or Action Pack, so no need for ↵José Valim2010-11-201-1/+0
| | | | supporting lazy hooks.
* applies API conventions to the RDoc of json_encodeXavier Noria2010-11-201-10/+12
| | | | | | | | * Examples running with the text are preferred over separate Example sections. * No need to call puts, in # => we show the return value, not STDOUT. * Say explicitly that double quotes are removed. * Specify that we are talking \uXXX, rather than, say, HTML entities.
* removes orphan tests, custom String#% was removed from AS in 39d6f9eXavier Noria2010-11-191-69/+0
|
* Revert "Quick fix for not escaping []s (not ideal)"Santiago Pastorino2010-11-183-9/+7
| | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6..
* bye bye extlib_inheritable_*, AS callbacks now using class_attributeJosh Kalderimis2010-11-182-92/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Update the version.rb files to include a PRE partCarl Lerche2010-11-161-2/+2
|
* using a merge with a Hash[] rather than a loop to add SAX parsed attributesAaron Patterson2010-11-161-2/+1
|
* Add support for try to just yield the object to a block if no method is to ↵raggi2010-11-142-1/+23
| | | | be called. Kind of like a tap_if_present.
* HashWithIndifferentAccess should not change the subclass of an arrayLarry Sprock2010-11-142-1/+18
|
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-113-0/+27
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Added Hash#deep_dup function which performs deep duplication on given hashPiotr Sarnacki2010-11-023-0/+27
| |
* | Duck typing hereSantiago Pastorino2010-11-111-1/+1
| |
* | Fix ActiveSupport::TimeWithZone#localtime method with DateTimeAlvaro Bautista2010-11-112-1/+12
| | | | | | | | | | | | [#5344 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Remove unused methodSantiago Pastorino2010-11-102-62/+0
| |
* | Remove useless cgiDenis Odorcic2010-11-103-35/+0
| | | | | | | | | | | | [#5943 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in masterXavier Noria2010-11-091-0/+4
| |
* | Test cache.key_file_path with separators ht. Jim Wilson [#5611]Santiago Pastorino2010-11-071-0/+5
| |
* | Fix FileStore cache incorrectly regenerating its key from a pathname when a ↵Denis Odorcic2010-11-072-4/+7
| | | | | | | | | | | | | | | | 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-072-0/+10
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Ensure that HashWithIndifferentAccess duplication preserves class (for ↵laserlemon2010-11-072-3/+18
| | | | | | | | | | | | 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-032-6/+14
| |
* | Allowing to_xml :camelize option to be set to :lower to enable ↵Jeremy Holland2010-11-033-4/+17
|/ | | | 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
| |
* | Merge CHANGELOGs from 3-0-stableSantiago Pastorino2010-10-181-0/+3
| |
* | 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-166-3/+77
| | | | | | | | state:committed]
* | Revert "refactor delete a little"Aaron Patterson2010-10-151-1/+4
| | | | | | | | This reverts commit f3f34bce8fc2895e05c4a06bb4105d6155fa423d.
* | in regexps, the dot in a character class is not a metacharacterXavier Noria2010-10-151-1/+1
| |
* | 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-102-0/+12
| | | | | | [#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>
* | calling correct method on minitest for test name when teardown callback failsAaron Patterson2010-10-041-0/+19
| |