aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* Changed the year of a date used in a test which fails when using 1.8.7 on a ↵Josh Kalderimis2011-07-191-1/+1
| | | | 32bit machine (ArgumentError: time out of range)
* need magic commentsAkira Matsuda2011-07-141-0/+2
|
* treat fullwidth whitespace as a blank characterAkira Matsuda2011-07-141-1/+1
|
* Fix xmlschema output with fraction_digits >0shtirlic2011-07-111-0/+7
| | | | | Current implementation produce incorrect output when Time#usec returns integer < 100000, because to_s doesn't add leading zeros.
* Merge pull request #1608 from sishen/sishenJosé Valim2011-07-111-1/+17
|\ | | | | MemcacheStore: deserialize the entry reading from local_cache when using
| * MemcacheStore: deserialize the entry reading from local_cache when using rawDingding Ye2011-06-101-1/+17
| |
* | Merge pull request #1296 from c42engineering/issue636José Valim2011-07-111-0/+49
|\ \ | | | | | | Resubmitting issue #636 as a pull request
| * | Issue #636 - Parsing an xml file with multiple records and extra attributes ↵Sidu Ponnappa2011-07-111-0/+49
| | | | | | | | | | | | (besides type) fails
* | | Properly cache value when it is "false"Sebi Burkhard2011-07-081-0/+5
| | |
* | | Merge pull request #1406 from dmathieu/fix_test_warningsJosé Valim2011-07-071-2/+1
|\ \ \ | | | | | | | | Fix test warnings
| * | | remove the warning when testing whiny_nildmathieu2011-07-071-2/+1
| | | |
* | | | Merge pull request #1463 from psanford/masterSantiago Pastorino2011-07-061-0/+1
|\ \ \ \ | | | | | | | | | | Fix timezone handling in String.to_time
| * | | | Make String.to_time respect timezonesNate Mueller2011-06-021-0/+1
| | | | |
* | | | | all numerics should be html_safe - Closes #1935Damien Mathieu2011-07-031-0/+4
| | | | |
* | | | | Merge pull request #1690 from vijaydev/mattr_accessor_changesJosé Valim2011-06-301-0/+7
|\ \ \ \ \ | | | | | | | | | | | | Added instance_accessor: false to Module#mattr_accessor
| * | | | | Added instance_accessor: false to Module#mattr_accessorVijay Dev2011-06-141-0/+7
| | | | | |
* | | | | | Array.wrap should follow Kernel#Array semantics when the object's to_ary is ↵Jon Leighton2011-06-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | nil. In this case, the object should be wrapped.
* | | | | | Fix configurable cristalization and tests.José Valim2011-06-291-6/+16
| |_|/ / / |/| | | |
* | | | | Using not effected timezone in tests.Arun Agrawal2011-06-291-4/+4
| | | | |
* | | | | StringToParameterizeWithNoSeparator: dashed parameter will notArun Agrawal2011-06-251-1/+1
| | | | | | | | | | | | | | | change.
* | | | | Merge pull request #1648 from dlee/acronymsXavier Noria2011-06-242-2/+87
|\ \ \ \ \ | | | | | | | | | | | | Inflector support for acronyms (Issue #1366)
| * | | | | Add acronym support to Inflector; Issue #1366David Lee2011-06-111-0/+82
| | | | | |
| * | | | | Test retain delimiter in parameterization inflectorDavid Lee2011-06-112-2/+5
| | |_|_|/ | |/| | |
* | | | | Using slice for instead of gsub to pass with 1.8.7Arun Agrawal2011-06-231-1/+1
| | | | |
* | | | | Merge pull request #1750 from dmathieu/non_string_methodsXavier Noria2011-06-221-0/+4
|\ \ \ \ \ | | | | | | | | | | | | Calling unsafe methods which don't return a string shouldn't fail
| * | | | | calling unsafe methods which don't return a string shouldn't failDamien Mathieu2011-06-221-0/+4
| | | | | |
* | | | | | Add option to omit creating an instance reader method on class_attributeJames Miller2011-06-181-0/+6
|/ / / / /
* | | | | safe_concat should not work on dirty buffers.José Valim2011-06-161-0/+7
| | | | |
* | | | | Fix safe buffer by adding a dirty status.José Valim2011-06-161-6/+31
| | | | |
* | | | | Deprecate memoizable.José Valim2011-06-152-7/+21
| | | | |
* | | | | Failing test to show problem when last argument of a memoized method is trueBrian Underwood2011-06-151-0/+14
| |/ / / |/| | | | | | | | | | | Signed-off-by: Damien Mathieu <42@dmathieu.com>
* | | | Rename Time#whole_* to Time#all_* [thanks Pratik!]David Heinemeier Hansson2011-06-131-10/+10
| | | |
* | | | Added Time#whole_day/week/quarter/year as a way of generating ranges ↵David Heinemeier Hansson2011-06-131-0/+20
| | | | | | | | | | | | | | | | (example: Event.where(created_at: Time.now.whole_week)) [DHH]
* | | | Added instance_accessor: false as an option to Class#cattr_accessor and ↵David Heinemeier Hansson2011-06-131-2/+9
| | | | | | | | | | | | | | | | friends [DHH]
* | | | Define ActiveSupport#to_param as to_str - closes #1663Andrew White2011-06-121-1/+7
|/ / /
* | | Allow a Date to be frozen more than once without an error in Ruby 1.8.xBradley Buda2011-06-081-0/+6
| | |
* | | remove warning: assigned but unused variableSantiago Pastorino2011-06-081-1/+1
| | |
* | | Ensure that the strings returned by SafeBuffer#gsub and friends aren't ↵Michael Koziarski2011-06-071-0/+12
|/ / | | | | | | | | | | | | | | | | | | considered html_safe? Also make sure that the versions of those methods which modify a string in place such as gsub! can't be called on safe buffers at all. Conflicts: activesupport/test/safe_buffer_test.rb
* | Raise NameError instead of ArgumentError in ActiveSupport::DependenciesAndrew White2011-06-011-1/+1
| | | | | | | | | | | | | | | | ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423
* | Merge pull request #1346 from arunagw/jdom_file_from_xml_fixAaron Patterson2011-05-271-14/+14
|\ \ | | | | | | Jdom file from xml fix
| * | Adding tests for file_from_xml for XmlMini_JDOM #jrubyArun Agrawal2011-05-271-14/+14
| | |
* | | Fixes minor ruby 1.8 inconsistencyAndrew Radev2011-05-271-0/+23
|/ / | | | | | | | | ActiveSupport::OrderedHash did not behave identically to Hash when given a block with a splat.
* / Removed deprecated methods and related tests from ActiveSupportJosh Kalderimis2011-05-255-367/+0
|/
* Not loading file if PLATFORM not available. Arun Agrawal2011-05-241-83/+82
|
* Removed ActiveSupport::SecureRandom in favour of SecureRandom from the ↵Jon Leighton2011-05-231-19/+0
| | | | standard library. (It has been deprecated in the 3-1-stable branch.)
* Replace references to ActiveSupport::SecureRandom with just SecureRandom, ↵Jon Leighton2011-05-233-7/+7
| | | | and require 'securerandom' from the stdlib when active support is required.
* Removed the AS core_ext/kernel/debugger breakpoint method as this method is ↵Josh Kalderimis2011-05-231-3/+43
| | | | added by ruby-debug and should be left as is. Missing tests added.
* Fix failing tests.José Valim2011-05-222-1/+4
|
* test fix jdom_engine_test Vishnu Atrai2011-05-221-0/+1
|
* make sure missing method does not fail with argumentsdmathieu2011-05-221-0/+6
|