aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* camelize and underscore are sort of inverse of each other, but not in a ↵Xavier Noria2010-07-221-1/+11
| | | | mathematical sense [#5174 state:resolved]
* Test Hash#to_param escapes keys and valuesSantiago Pastorino2010-07-221-0/+4
| | | | [#5175]
* Hash#to_param is doesn't use sort anymore, some tests added for Hash#to_paramSantiago Pastorino2010-07-222-1/+26
|
* Change some missing README -> README.rdocSantiago Pastorino2010-07-221-1/+1
|
* Add .rdoc extension to README files.José Valim2010-07-212-1/+1
|
* Remove old install.rb files.José Valim2010-07-212-42/+3
|
* Fix a failing test in Railtie and properly define all severity levels in ↵José Valim2010-07-201-4/+14
| | | | MockLogger for LogSubscriber.
* Add a test for elapsed and require missing benchmark file.José Valim2010-07-202-19/+15
|
* fix mixed encoding logs can't be logged.Kouhei Sutou2010-07-193-2/+24
| | | | | | | [#4807 state:committed] Signed-off-by: Kouhei Sutou <kou@cozmixng.org> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* reusing the time instrumentation from the instrumenter rather than ↵Aaron Patterson2010-07-191-2/+9
| | | | Benchmark. [#5098 state:open]
* mocking out debing? call in the MockLoggerAaron Patterson2010-07-191-0/+3
|
* Minor performance improvment in notifications/fanout and ↵Daniel Guettler2010-07-191-7/+5
| | | | active_record/log_subscriber [#5098 state:open]
* avoid call to Array#firstAaron Patterson2010-07-191-3/+3
|
* Introduced redefine_methodŁukasz Strzałkowski2010-07-191-0/+5
|
* avoid proc activation every time a log message is madeAaron Patterson2010-07-181-9/+14
|
* subscriber does not need to be a block, but an object that responds to #callAaron Patterson2010-07-181-5/+5
|
* Notifier API == Fanout API, so replace Notifier with Fanout as they quack ↵Aaron Patterson2010-07-182-29/+3
| | | | the same
* tap the subscriber for easier return valueAaron Patterson2010-07-181-2/+3
|
* bind method is not needed, so goodbye! <3 <3 <3Aaron Patterson2010-07-182-8/+2
|
* Float comparison adjustmentSantiago Pastorino2010-07-181-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* convert duration to an attr_readerAaron Patterson2010-07-171-6/+3
|
* It's not needed to initialize the attr when calling mattr_writerSantiago Pastorino2010-07-181-7/+1
|
* drained? is never calledAaron Patterson2010-07-171-4/+0
|
* private method is not neededAaron Patterson2010-07-171-12/+2
|
* removing Binding classAaron Patterson2010-07-171-14/+4
|
* use === to avoid regular expression creation, and speed up string comparisonAaron Patterson2010-07-171-9/+3
|
* Don't rely on implementation-specific order-dependence of array comparisons ↵Nick Sieger2010-07-171-4/+5
| | | | | | in unit tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Revert "Improve performance of MessageVerifier while keeping it constant time"wycats2010-07-131-4/+4
| | | | This reverts commit 8b05c5207dd5757d55d0c384740db289e6bd5415.
* Merge remote branch 'docrails/master'Xavier Noria2010-07-131-3/+3
|\
| * Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-3/+3
| |
* | We shouldn't rely on float comparison, delta added just in case float ↵Santiago Pastorino2010-07-121-3/+3
|/ | | | representation of this values aren't equal
* Merge remote branch 'docrails/master'Xavier Noria2010-07-091-1/+1
|\
| * Minor typos: 'built-in' instead of 'built in', 'built into' instead of ↵Jaime Iniesta2010-07-091-1/+1
| | | | | | | | 'built in to'
* | Improve bang method defs, make slice! operate in-place. [#5028 state:resolved]Norman Clarke2010-07-083-36/+33
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Define a convention for descendants and subclasses.José Valim2010-07-058-128/+66
| | | | | | The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children. By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts.
* Move Date#xmlschema to conversions and add a missing requireSantiago Pastorino2010-07-043-9/+12
|
* Removes the dependency that AMo has on tzinfoSantiago Pastorino2010-07-031-6/+6
| | | | [#4979 state:committed]
* Refactor move some date, time and date_time methods to */zones and fixed ↵Santiago Pastorino2010-07-039-24/+33
| | | | some requires
* Time#formatted_offset is defined in core_ext/time/conversionsSantiago Pastorino2010-07-021-0/+1
| | | | [#4979]
* Time#as_json: use Time#formatted_offset instead of strftime %z directive, ↵Geoff Buesing2010-07-021-1/+1
| | | | | | | | which is non-standard and inaccurate on some platforms (e.g., Mac OS X). [#4979] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Time has it own implementation of xmlschema, now AMo doesn't depend on TZInfoSantiago Pastorino2010-07-022-4/+6
| | | | | | [#4979 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* AS json refactor, move to_json implementation to core_ext and a cleanup a ↵Santiago Pastorino2010-07-016-36/+29
| | | | bit the code
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-011-6/+5
| | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* fix failure if behavior is not define and try use the defaultCyril Mougel2010-07-012-1/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add the possibility to have several behaviors in AS::Deprecation.José Valim2010-07-014-3/+19
|
* Merge remote branch 'rails/master'Xavier Noria2010-06-3012-65/+96
|\
| * add note of which configuration option to set in deprecation warning message ↵bodhi2010-06-301-3/+5
| | | | | | | | | | | | [#5012 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Improve the idiom used in multibyte chars a bit.José Valim2010-06-301-3/+3
| |
| * Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting ↵Alex Muntean2010-06-302-1/+3
| | | | | | | | | | | | offset is negative [#4717 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Update Unicode database to 5.2.0. [#5011 state:resolved]Norman Clarke2010-06-302-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>