Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds failed test case for slicing hash with indifferent access with symbol keys | adam | 2008-09-23 | 1 | -0/+10 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Deprecated String#chars in favor of String#mb_chars. | Manfred Stienstra | 2008-09-21 | 1 | -0/+6 |
| | |||||
* | Move with_kcode helper to abstract_unit. Add tests for multibyte string ↵ | Manfred Stienstra | 2008-09-21 | 1 | -6/+47 |
| | | | | extensions. | ||||
* | Fixed Time#end_of_quarter to not blow up on May 31st [#313 state:resolved] | Carlos Brando | 2008-09-19 | 1 | -0/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | TimeWithZone #wday, #yday and #to_date avoid trip through #method_missing | gbuesing | 2008-09-14 | 1 | -1/+3 |
| | |||||
* | Add thorough tests for Time-object #past?, #future? and #today. Fix ↵ | gbuesing | 2008-09-14 | 4 | -41/+195 |
| | | | | TimeWithZone #today? to use #time instead of #utc for date comparison. Update changelog. [#720 state:resolved] | ||||
* | Introduce convenience methods past?, today? and future? for Date and Time ↵ | Clemens Kofler | 2008-09-14 | 4 | -15/+79 |
| | | | | classes to facilitate Date/Time comparisons. | ||||
* | Ensure Hash#except is allowed on a frozen hash. References #382 | Mislav Marohnić | 2008-09-13 | 1 | -0/+14 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte::Chars ↵ | Manfred Stienstra | 2008-09-11 | 1 | -0/+6 |
| | | | | | | | | | | values. - Adds String#acts_like_string? - Adds Chars#acts_like_string? Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1029 state:committed] | ||||
* | Don't run 32bit dependant assertions in 64bit environments | Tarmo Tänav | 2008-09-04 | 1 | -4/+10 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Add each_with_object from 1.9 for a more convenient alternative to inject. | Adam Keys | 2008-09-03 | 1 | -0/+5 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#962 state:committed] | ||||
* | Database connections are now pooled, one pool per #establish_connection call. | Jeremy Kemper | 2008-09-02 | 2 | -9/+25 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pools start out empty and grow as necessary to a maximum size (default is 5, configure size with key 'pool' in your database configuration). If no connections are available, a thread will wait up to a 'wait_timeout' time (default is 5 seconds). Connections are verified and reset when checked out from the pool (usually upon first access to ActiveRecord::Base.connection), and returned back to the pool after each request. If you would like to use connection pools outside of ActionPack, there is an ActiveRecord::Base.connection_pool method that gives you access to the pool, and you can manually checkout/checkin connections, or supply a block to ActiveRecord::Base.connection_pool.with_connection which takes care of the checkout/checkin for you. [#936 state:resolved] | ||||
| * | Merge rexml-expansion-fix gem into activesupport. | Michael Koziarski | 2008-09-02 | 1 | -0/+21 |
| | | | | | | | | | | Addresses the security issue documented at: * http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/ | ||||
| * | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 2 | -9/+4 |
| | | | | | | | | | | | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | | Module#synchronize: Add testcase to ensure that singleton methods can be wrapped | Nick | 2008-08-29 | 1 | -3/+17 |
| | | |||||
* | | Add method punctuation handling to #synchronize | Nick | 2008-08-29 | 1 | -0/+14 |
| | | |||||
* | | Adds Module#synchronize for easier method-level synchronization. | Nick | 2008-08-29 | 1 | -0/+57 |
|/ | |||||
* | Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances ↵ | Luca Guidi | 2008-08-27 | 1 | -0/+34 |
| | | | | are now correctly unmarshaled with a utc zone instead of the system local zone [#900 state:resolved] | ||||
* | Work around frozen Date memoization | Jeremy Kemper | 2008-08-25 | 1 | -4/+12 |
| | |||||
* | camelize(:lower) should always downcase first character. [#696 state:resolved] | Amos King | 2008-08-22 | 1 | -0/+4 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Mark Class as not being duplicable. [#829 state:resolved] | Frederick Cheung | 2008-08-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Use current umask when testing the expected file mode [#823 state:resolved] | S. Brent Faulkner | 2008-08-13 | 1 | -4/+4 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Make File.atomic_write copy the original permissions or use the directories ↵ | Joshua Peek | 2008-08-06 | 1 | -6/+44 |
| | | | | default. | ||||
* | If it doesn't overflow, it won't have a .start method. So don't run the ↵ | Michael Koziarski | 2008-07-20 | 1 | -1/+1 |
| | | | | second assertion either | ||||
* | Handle the case where 64bit time_t won't overflow. | Michael Koziarski | 2008-07-20 | 1 | -1/+6 |
| | |||||
* | Add extra tests to ensure Hash#slice works with an array as a key. #613 | MatthewRudy | 2008-07-17 | 1 | -0/+21 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Revert "Hash#slice supports an array of keys [#613 state:resolved]" | Pratik Naik | 2008-07-17 | 1 | -35/+21 |
| | | | | This reverts commit 396f9df8916b71f83aad8d56559cf55fc8501679. | ||||
* | Allow deep merging of hash values for nested with_options. [#490 state:resolved] | Lawrence Pit | 2008-07-17 | 1 | -0/+10 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Hash#slice supports an array of keys [#613 state:resolved] | Josh Owens | 2008-07-16 | 1 | -21/+35 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Added Object#metaclass | Joshua Peek | 2008-07-15 | 1 | -0/+8 |
| | |||||
* | Add in_groups to ActiveSupport::CoreExtensions::Array::Grouping. [#579 ↵ | Adrian Mugnolo | 2008-07-15 | 1 | -4/+46 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to utc, ↵ | gbuesing | 2008-07-14 | 1 | -0/+6 |
| | | | | because Ruby's marshaling of Time instances doesn't respect the zone | ||||
* | TimeWithZone: when crossing DST boundary, treat Durations of days, months or ↵ | gbuesing | 2008-06-29 | 1 | -0/+168 |
| | | | | years as variable-length, and all other values as absolute length. A time + 24.hours will advance exactly 24 hours, but a time + 1.day will advance 23-25 hours, depending on the day. Ensure consistent behavior across all advancing methods. | ||||
* | Added block-handling to Enumerable#many? (Damian Janowski) [#452 state:resolved] | David Heinemeier Hansson | 2008-06-20 | 1 | -2/+7 |
| | |||||
* | Added Array#second through Array#tenth as aliases for Array#[1] through ↵ | David Heinemeier Hansson | 2008-06-17 | 1 | -0/+14 |
| | | | | Array#[9] [DHH] | ||||
* | Change Enumberal#several? to Enumberal#many? | David Heinemeier Hansson | 2008-06-13 | 1 | -3/+3 |
| | |||||
* | Added Object#present? which is equivalent to !Object#blank? [DHH] | David Heinemeier Hansson | 2008-06-12 | 1 | -0/+5 |
| | |||||
* | Merge branch 'master' of git@github.com:rails/rails | David Heinemeier Hansson | 2008-06-12 | 3 | -17/+38 |
|\ | |||||
| * | Performance: faster Object.subclasses_of | Jeremy Kemper | 2008-06-08 | 1 | -1/+1 |
| | | |||||
| * | Wrap date part value method tests inside a uses mocha block. | Joshua Peek | 2008-06-07 | 1 | -16/+18 |
| | | |||||
| * | Move Class::ModelName to Active Support module core_ext | Jeremy Kemper | 2008-06-06 | 1 | -0/+19 |
| | | |||||
* | | Added Enumberable#several? to encapsulate collection.size > 1 [DHH] | David Heinemeier Hansson | 2008-06-12 | 1 | -0/+6 |
|/ | |||||
* | Fixed ambiguous first argument warning in ArrayExtTest. | Joshua Peek | 2008-06-03 | 1 | -14/+12 |
| | |||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 5 | -157/+157 |
| | | | | ActiveSupport [#238 state:resolved] | ||||
* | Added tests [#279 state:resolved] (Nicholas Schlueter) | David Heinemeier Hansson | 2008-06-02 | 3 | -0/+10 |
| | |||||
* | Fixed Date#end_of_quarter to not blow up on May 31st [#289 state:resolved] ↵ | David Heinemeier Hansson | 2008-06-02 | 1 | -0/+1 |
| | | | | (Danger) | ||||
* | Hash.from_xml: datetime xml types overflow to Ruby DateTime class when out ↵ | gbuesing | 2008-05-18 | 1 | -0/+38 |
| | | | | of range of Time. Adding tests for utc offsets | ||||
* | TimeWithZone #+ and #- : ensure overflow to DateTime with Numeric arg | gbuesing | 2008-05-18 | 1 | -0/+7 |
| | |||||
* | Include time zone offset in TimeWithZone#to_json | Daniel Morrison | 2008-05-13 | 1 | -1/+1 |
| | |||||
* | Adding Date.current, which returns Time.zone.today if config.time_zone is ↵ | gbuesing | 2008-05-08 | 1 | -0/+23 |
| | | | | set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default |