Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ActiveSupport::Dependencies.constantize shortcut for caching named constant ↵ | Jeremy Kemper | 2010-06-05 | 4 | -14/+26 |
| | | | | lookups | ||||
* | Optimize LookupContext | wycats | 2010-06-04 | 2 | -0/+38 |
| | |||||
* | Small optimization of 1.9 unescape. We should make sure that inbound ASCII ↵ | wycats | 2010-06-04 | 1 | -2/+6 |
| | | | | always means UTF-8. It seems so based on a quick survey of common browsers, but let's be sure | ||||
* | Improve performance of MessageVerifier while keeping it constant time | wycats | 2010-06-04 | 1 | -4/+4 |
| | |||||
* | Eliminate the need to check for superclass changes to the callback stack ↵ | wycats | 2010-06-04 | 1 | -3/+6 |
| | | | | each time through the callbacks | ||||
* | removes Array#random_element and backports Array#sample from Ruby 1.9, ↵ | Xavier Noria | 2010-06-05 | 3 | -12/+42 |
| | | | | thanks to Marc-Andre Lafortune | ||||
* | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2010-06-02 | 1 | -13/+9 |
|\ | |||||
| * | revises the documentation of String#truncate and the truncate helper | Xavier Noria | 2010-06-02 | 1 | -13/+9 |
| | | |||||
* | | You need the ruby-debug available in your Gemfile for debugger to work | David Heinemeier Hansson | 2010-06-02 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2010-06-01 | 6 | -8/+21 |
|\ | |||||
| * | Unforce memcache from AS | Santiago Pastorino | 2010-06-01 | 2 | -3/+6 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Unforce builder from AS | Santiago Pastorino | 2010-06-01 | 4 | -3/+8 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Unforce tzinfo from AS | Santiago Pastorino | 2010-06-01 | 2 | -2/+7 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Extracted String#truncate from TextHelper#truncate [DHH] | David Heinemeier Hansson | 2010-06-01 | 3 | -0/+64 |
|/ | |||||
* | Unforce i18n from AS | Santiago Pastorino | 2010-05-31 | 4 | -6/+17 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use I18n 0.4.0 | José Valim | 2010-05-27 | 1 | -1/+1 |
| | |||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-05-27 | 24 | -742/+753 |
|\ | |||||
| * | Fix test incorrectly using a bare assert to use assert_kind_of | Santiago Pastorino | 2010-05-24 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Fix a bug where I18n fallbacks modules where not included in the proper ↵ | José Valim | 2010-05-23 | 1 | -2/+3 |
| | | | | | | | | backend if it was set through config.i18n.backend. | ||||
| * | Use multibyte proxy class on 1.9, refactor Unicode. | Norman Clarke | 2010-05-21 | 13 | -701/+715 |
| | | | | | | | | | | | | | | | | | | | | Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding. Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency. [#4594 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | 1.day should respond_to kind_of too | Neeraj Singh | 2010-05-21 | 2 | -0/+2 |
| | | | | | | | | | | | | [#4656 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | refactor evals and adds some __FILE__ and __LINE__ | Santiago Pastorino | 2010-05-20 | 7 | -38/+32 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | A small rdoc change made on lines 39 and 41 on ↵ | jacortinas | 2010-05-25 | 1 | -2/+2 |
|/ | | | | activesupport/lib/active_support/core_ext/object/to_param.rb. It looks like the method name might have been changed, and the comments were never changed to coincide with the new method name. | ||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-05-19 | 23 | -104/+74 |
|\ | |||||
| * | Final iteration of use better testing methods | Neeraj Singh | 2010-05-19 | 13 | -44/+44 |
| | | | | | | | | | | | | [#4652 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | removes deprecations of last_(month|year) from master, they will be ↵ | Xavier Noria | 2010-05-19 | 5 | -39/+1 |
| | | | | | | | | deprecated in 2.3 instead | ||||
| * | Better error messages for some of ActiveSupport tests | Neeraj Singh | 2010-05-18 | 1 | -6/+6 |
| | | | | | | | | | | | | [#4635 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Renames Array#rand -> Array#random_element | Rizwan Reza | 2010-05-17 | 3 | -15/+3 |
| | | | | | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
| * | Revert "Moved encoding work in progress to a feature branch." | wycats | 2010-05-17 | 3 | -0/+20 |
| | | | | | | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517. | ||||
* | | in Ruby things in general happen at runtime, no need to specify that | Xavier Noria | 2010-05-19 | 1 | -2/+3 |
| | | |||||
* | | Updating the doc with the info that class_inheritable_accessor | Neeraj Singh | 2010-05-19 | 1 | -0/+2 |
|/ | | | | copies properties to child at runtime | ||||
* | Moved encoding work in progress to a feature branch. | Jeremy Kemper | 2010-05-16 | 3 | -20/+0 |
| | | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c. | ||||
* | Change on Array extension from rand => random_element [#4555 state:committed] | Santiago Pastorino | 2010-05-16 | 2 | -5/+19 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Initial work to improve the state of encodings for templates | wycats | 2010-05-16 | 3 | -0/+20 |
| | |||||
* | Make use of assert_equal to test equallity between object assert expects and ↵ | Santiago Pastorino | 2010-05-16 | 2 | -4/+4 |
| | | | | | | | | object and a message of error [#4611 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Reorganized initializers a bit to enable better hooks for common cases ↵ | wycats | 2010-05-15 | 2 | -4/+81 |
| | | | | | | | | | | | | | | | without the need for Railtie. Specifically, the following hooks were added: * before_configuration: this hook is run immediately after the Application class comes into existence, but before the user has added any configuration. This is the appropriate place to set configuration for your plugin * before_initialize: This is run after all of the user's configuration has completed, but before any initializers have begun (in other words, it runs right after config/environments/{development,production,test}.rb) * after_initialize: This is run after all of the initializers have run. It is an appropriate place for forking in a preforking setup Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie. | ||||
* | Add missing require to with_options [#4601 state:resolved] | Carlos Antonio da Silva | 2010-05-15 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Better code formatting and proper line numbers for stack traces | Neeraj Singh | 2010-05-14 | 1 | -1/+1 |
| | | | | | | [#4596 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | defines prev_(month|year) in Date and Time to ease transition to 1.9, and ↵ | Xavier Noria | 2010-05-12 | 6 | -25/+64 |
| | | | | deprecates last_(month|year) | ||||
* | aliases Date#sunday to Date#end_of_week, for symmetry with existing alias ↵ | Xavier Noria | 2010-05-09 | 2 | -0/+3 |
| | | | | Date#monday -> Date#beginning_of_week | ||||
* | adds calendar reform test coverage for more relevant date calculations | Xavier Noria | 2010-05-09 | 1 | -1/+14 |
| | |||||
* | Backports Date#>> from 1.9 so that calculations do the right thing around ↵ | Xavier Noria | 2010-05-09 | 3 | -0/+47 |
| | | | | | | | | | | the calendar reform Our next_month gives November for some late dates in September of 1582. Related methods, last_*, and in general advance have the same issues. This commit fixes those, see the test suite for expected behavior, which we still run in 1.9 to ensure it matches as we do with other methods defined in Date in 1.9. | ||||
* | add test coverage for (last|next)_year on leap years | Xavier Noria | 2010-05-08 | 1 | -0/+8 |
| | |||||
* | adds Date#to_time refinement from previous commit to the CHANGELOG | Xavier Noria | 2010-05-05 | 1 | -0/+2 |
| | |||||
* | let Time.time_with_datetime_fallback handle properly years in the range 0..138 | Xavier Noria | 2010-05-05 | 5 | -4/+30 |
| | |||||
* | date/conversions needs time/calculations for (utc|local)_time | Xavier Noria | 2010-05-03 | 1 | -0/+1 |
| | |||||
* | BigDecimal#as_json does not really specify the F format, it delegates that ↵ | Xavier Noria | 2010-05-03 | 1 | -1/+3 |
| | | | | to whatever BigDecimal#to_s default format is, do the same in its test | ||||
* | adds a comment explaining why BigDecimal#as_json returns a JSON string | Xavier Noria | 2010-05-03 | 1 | -1/+9 |
| | |||||
* | fixes colon in previous YAML example | Xavier Noria | 2010-05-03 | 1 | -1/+1 |
| | |||||
* | Fix transliteration rule example in docs. [#4526 state:resolved] | Norman Clarke | 2010-05-03 | 1 | -2/+3 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> |