aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* changed xml type datetime to dateTime, fixes #6328Angelo capilleri2012-05-231-2/+2
| | | | | | | | | XmlMini define the xml 'datatime', but according to http://www.w3.org/TR/xmlschema-2/#dateTime could be better change this to 'dateTime' with upper case letter 'T. So 'DateTime' and 'Time' are redefined from 'datetime' to 'dateTime' add the changing to the changelog
* Merge pull request #5125 from winston/log_exception_when_cache_read_failsMichael Koziarski2012-05-211-0/+9
|\ | | | | #read_entry in ActiveSupport::Cache::FileStore should log details of the exception when an exception is thrown
| * #read_entry in ActiveSupport::Cache::FileStore should log details of the ↵Winston2012-02-221-0/+9
| | | | | | | | exception when an exception is thrown.
* | Add instance_accessor option to class_attributeAlexey Vakhov2012-05-221-0/+7
| |
* | Don't use assert_block method. It will be deprecated.kennyj2012-05-201-1/+1
| |
* | Handle case where ancestor is not the end of the chainAndrew White2012-05-191-0/+2
| |
* | Fix constantize so top level constants are looked up properly.Marc-Andre Lafortune2012-05-191-0/+18
| |
* | Make constantize look down the ancestor chain (excluding Object)Marc-Andre Lafortune2012-05-191-0/+17
| |
* | Merge pull request #6376 from jgaskins/timestamp-microsecondsJeremy Kemper2012-05-181-1/+3
|\ \ | | | | | | Increase numeric-timestamp precision to nanoseconds
| * | Increase `AR#cache_key` precision to nanosecondsJamie Gaskins2012-05-191-1/+3
| | |
* | | Merge pull request #6183 from nashby/fix-issue-6179Jeremy Kemper2012-05-183-33/+49
|\ \ \ | | | | | | | | wrap time ranges with timezones
| * | | respect nsec in TimeWithZoneVasiliy Ermolovich + Sergey Nartimov2012-05-183-35/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when we pass fractional usec to Time methods we should use Rational instead of Float because of accuracy problem Time.local(2011,6,12,23,59,59,999999.999).nsec # => 999999998 Time.local(2011,6,12,23,59,59,Rational(999999999, 1000)).nsec # => 999999999
| * | | wrap time ranges with timezones, closes #6179Vasiliy Ermolovich2012-05-171-1/+9
| | | |
* | | | Fix warning: possibly useless use of % in void contextkennyj2012-05-191-1/+1
| | | |
* | | | doesn't modify params in SafeBuffer#%Vasiliy Ermolovich2012-05-181-0/+7
| |/ / |/| |
* | | Merge pull request #6361 from markmcspadden/issue_6265José Valim2012-05-171-2/+2
|\ \ \ | | | | | | | | Remove special cases for duplicable? on Class and Module
| * | | Remove special cases for duplicable? on Class and ModuleMark McSpadden2012-05-171-2/+2
| | | |
* | | | Ensure blocks given to subscriber are properly yieldJosé Valim2012-05-171-1/+1
| | | |
* | | | Fix an issue with inflection where my_analyses (in plular form) incorrectly ↵Anuj Dutta2012-05-161-0/+1
|/ / / | | | | | | | | | converted to my_analyasis(in singular form).
* | | fix safe string interpolation with SafeBuffer#%, closes #6352Vasiliy Ermolovich2012-05-161-0/+24
| | |
* | | Merge pull request #5571 from jarkko/5559-fix-dst-jump-bug-on-masterAaron Patterson2012-05-151-0/+18
|\ \ \ | | | | | | | | [#5559] Do not black out the system timezone DST jump hour if Time.zone ...
| * | | [#5559] Do not black out the system timezone DST jump hour if Time.zone ↵Jarkko Laine2012-03-241-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | differs from that. The system timezone DST jump hour should not be blacked out by Time.zone.parse if current Time.zone does not do the jump at that time. Fixes #5559.
* | | | remove useless tests for Range#stepVasiliy Ermolovich2012-05-131-10/+0
| | | |
* | | | Remove blockless_step leave all that up to RubySantiago Pastorino2012-05-131-1/+1
| | | | | | | | | | | | | | | | Closes #6297
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-121-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/lib/active_support/callbacks.rb
| * | | | Fix copypaste. [ci skip]Edward Tsech2012-05-111-2/+2
| | | | |
* | | | | Object#try can't call private methodsVasiliy Ermolovich2012-05-121-1/+13
| | | | |
* | | | | Remove useless load path modificationsSantiago Pastorino2012-05-112-5/+0
| | | | |
* | | | | Test Hash#except can receive more than one argument.Edward Tsech2012-05-111-0/+6
| | | | |
* | | | | add unless_exist option to memory storegrosser2012-05-101-0/+7
| | | | |
* | | | | AS::Callbacks#run_callbacks remove key argumentFrancesco Rodriguez2012-05-102-4/+4
|/ / / /
* | | | Merge pull request #6064 from gazay/fix_guides_for_as_core_extXavier Noria2012-05-071-0/+12
|\ \ \ \ | |_|/ / |/| | | Fix guides for as core ext
| * | | Added tests for comparsion operator for RangeAlexey Gaziev2012-05-071-0/+12
| | | |
* | | | Keep all methods in object/deep_dupPiotr Sarnacki2012-05-061-2/+1
| | | |
* | | | Nice logic for deep_dup in railsAlexey Gaziev2012-05-062-15/+54
| | | |
* | | | Merge pull request #6169 from marcandre/respond_to_missingJosé Valim2012-05-053-0/+18
|\ \ \ \ | | | | | | | | | | Respond to missing
| * | | | Use respond_to_missing for TimeWithZoneMarc-Andre Lafortune2012-05-051-0/+1
| | | | |
| * | | | Use respond_to_missing? for CharsMarc-Andre Lafortune2012-05-051-0/+9
| | | | |
| * | | | Use respond_to_missing? for OrderedOptionsMarc-Andre Lafortune2012-05-051-0/+8
| | | | |
* | | | | Merge pull request #6156 from mjtko/feature-beginning_of_hourJeremy Kemper2012-05-043-0/+30
|\ \ \ \ \ | | | | | | | | | | | | Beginning and end of hour support for Time and DateTime
| * | | | | added beginning_of_hour support to core_ext calculations for Time and DateTimeMark J. Titorenko2012-05-043-0/+30
| | | | | |
* | | | | | enable tests for beginning_of_* and end_of_* within time zone tests; enable ↵Mark J. Titorenko2012-05-041-8/+8
|/ / / / / | | | | | | | | | | | | | | | test for future_with_time_current_as_time_with_zone; fix beginning_of_month test.
* | | | | Merge pull request #4452 from tapajos/e5425c8f68fbb720fcbf4b14e1f154ac27dbbbedAaron Patterson2012-05-031-0/+7
|\ \ \ \ \ | | | | | | | | | | | | Fix cache (FileStore) clear to keep .gitkeep.
| * | | | | Cache (FileStore) clear should keep .gitkeepMarcos Tapajos2012-01-131-0/+7
| | | | | |
* | | | | | BigDecimal string wrapping in JSON serialization can now be opted-out, fixes ↵David FRANCOIS2012-05-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | #6033
* | | | | | JSON: encode BigDecimal NaN/Infinity as null.Sebi Burkhard2012-05-011-0/+1
| | | | | |
* | | | | | Merge pull request #2532 from ↵Piotr Sarnacki2012-04-301-0/+3
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | hasclass/as_json__encode_infinite_and_nan_floats_as_null JSON: Encode infinite or NaN floats as `null` to generate valid JSON.
| * | | | | JSON: Encode infinite or NaN floats as null to generate valid JSON.Sebi Burkhard2011-08-151-0/+3
| | | | | |
* | | | | | Merge pull request #5177 from cap10morgan/fix-gh-issue-4374José Valim2012-04-301-1/+3
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | fix inflector bug where -ice gets singularized into -ouse
| * | | | | fix inflector bug where -ice gets pluralized into -ouseWes Morgan2012-02-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This should happen for mouse or louse, but not slice or pumice.