Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | slice now returns indifferent hash if called on one | adam | 2008-09-23 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1096 state:committed] | ||||
* | Deprecated String#chars in favor of String#mb_chars. | Manfred Stienstra | 2008-09-21 | 1 | -1/+4 |
| | |||||
* | Improve documentation. | Manfred Stienstra | 2008-09-21 | 1 | -13/+10 |
| | |||||
* | Change all calls to String#chars to String#mb_chars. | Manfred Stienstra | 2008-09-21 | 1 | -5/+5 |
| | |||||
* | Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9. | Manfred Stienstra | 2008-09-21 | 3 | -68/+85 |
| | | | | | | * Unicode methods are now defined directly on Chars instead of a handler * Updated Unicode database to Unicode 5.1.0 * Improved documentation | ||||
* | Fixed Time#end_of_quarter to not blow up on May 31st [#313 state:resolved] | Carlos Brando | 2008-09-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Introduce convenience methods past?, today? and future? for Date and Time ↵ | Clemens Kofler | 2008-09-14 | 3 | -24/+68 |
| | | | | classes to facilitate Date/Time comparisons. | ||||
* | Make sure the permissions check file is closed before being unlinked. | Michael Koziarski | 2008-09-14 | 1 | -1/+1 |
| | | | | [#1035 state:committed] | ||||
* | Merge docrails | Pratik Naik | 2008-09-13 | 1 | -6/+6 |
| | |||||
* | Ensure Hash#except is allowed on a frozen hash. References #382 | Mislav Marohnić | 2008-09-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte::Chars ↵ | Manfred Stienstra | 2008-09-11 | 2 | -0/+15 |
| | | | | | | | | | | values. - Adds String#acts_like_string? - Adds Chars#acts_like_string? Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1029 state:committed] | ||||
* | Added Inflector#parameterize for easy slug generation ("Donald E. ↵ | David Heinemeier Hansson | 2008-09-10 | 1 | -0/+19 |
| | | | | Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby] | ||||
* | No local variable in the global namespace plz | David Heinemeier Hansson | 2008-09-09 | 1 | -3/+2 |
| | |||||
* | Fixed that REXML fix would break on earlier versions of ruby (Frederick ↵ | David Heinemeier Hansson | 2008-09-09 | 1 | -1/+3 |
| | | | | Cheung) [state:resolved #987] | ||||
* | Revert "Remove the Version check as it's not always available." | David Heinemeier Hansson | 2008-09-09 | 1 | -20/+22 |
| | | | | This reverts commit 6e2851d4261fbbea00e8e74802a507a89af80e2f. | ||||
* | Remove the Version check as it's not always available. | Michael Koziarski | 2008-09-09 | 1 | -22/+20 |
| | |||||
* | Fix indentation mismatch | Jeremy Kemper | 2008-09-08 | 1 | -1/+1 |
| | |||||
* | Don't shadow arg with block var | Jeremy Kemper | 2008-09-08 | 1 | -2/+2 |
| | |||||
* | BigDecimal to_s and yaml housekeeping | Jeremy Kemper | 2008-09-08 | 1 | -22/+18 |
| | |||||
* | Ruby 1.9 compat: use method_defined? instead of instance_methods.include? ↵ | Jeremy Kemper | 2008-09-06 | 1 | -3/+6 |
| | | | | Don't encourage args abuse by flattening. | ||||
* | Handle the case where there is no ivar set. | Michael Koziarski | 2008-09-04 | 1 | -1/+1 |
| | | | | This happens on jruby due to a bug, but also on historically marshalled data. | ||||
* | Add each_with_object from 1.9 for a more convenient alternative to inject. | Adam Keys | 2008-09-03 | 1 | -1/+21 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#962 state:committed] | ||||
* | Whitespace. | Clemens Kofler | 2008-09-03 | 1 | -5/+5 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Database connections are now pooled, one pool per #establish_connection call. | Jeremy Kemper | 2008-09-02 | 7 | -154/+201 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+35 |
| | | | | | | | | | | 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 | -6/+1 |
| | | | | | | | | | | | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
| * | Move some core extension methods into a module under the ↵ | Hongli Lai (Phusion) | 2008-08-29 | 4 | -148/+165 |
| | | | | | | | | | | | | | | | | ActiveSupport::CoreExtensions namespace, instead of extending core classes directly. This is more friendly for API reference generators. [#915 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Add synchronization to connection pool also | Nick | 2008-08-29 | 1 | -2/+2 |
| | | |||||
* | | Module#synchronize: Add testcase to ensure that singleton methods can be wrapped | Nick | 2008-08-29 | 1 | -1/+0 |
| | | |||||
* | | Add method punctuation handling to #synchronize | Nick | 2008-08-29 | 1 | -3/+5 |
| | | |||||
* | | Adds Module#synchronize for easier method-level synchronization. | Nick | 2008-08-29 | 2 | -0/+36 |
|/ | |||||
* | Date#freeze bug doesn't affect Ruby 1.9 | Jeremy Kemper | 2008-08-28 | 1 | -7/+11 |
| | |||||
* | Date#freeze bug doesn't affect Ruby 1.9 | Jeremy Kemper | 2008-08-28 | 1 | -8/+17 |
| | |||||
* | Reinstate Range#step default argument. | Bradford Folkens | 2008-08-27 | 1 | -2/+2 |
| | | | | | | [#595 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Moved Logger extensions into core_ext | Joshua Peek | 2008-08-27 | 1 | -1/+128 |
| | |||||
* | Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances ↵ | Luca Guidi | 2008-08-27 | 1 | -1/+22 |
| | | | | 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 | -0/+16 |
| | |||||
* | Mark Class as not being duplicable. [#829 state:resolved] | Frederick Cheung | 2008-08-21 | 1 | -0/+6 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Consistently use the framework's configured logger and avoid reverting to ↵ | Joshua Peek | 2008-08-18 | 1 | -4/+4 |
| | | | | RAILS_DEFAULT_LOGGER unless necessary. | ||||
* | Make File.atomic_write copy the original permissions or use the directories ↵ | Joshua Peek | 2008-08-06 | 2 | -20/+50 |
| | | | | default. | ||||
* | Performance: grouping helpers should use yield instead of block as argument. ↵ | miloops | 2008-07-30 | 1 | -5/+5 |
| | | | | [#723 state:resolved] | ||||
* | Merge docrails changes | Pratik Naik | 2008-07-28 | 2 | -9/+12 |
| | |||||
* | Improved Memoizable test coverage and added support for multiple arguments | Joshua Peek | 2008-07-22 | 1 | -0/+5 |
| | |||||
* | Merge branch 'master' into i18n-merge | Jeremy Kemper | 2008-07-17 | 10 | -11/+56 |
|\ | | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb | ||||
| * | Add extra tests to ensure Hash#slice works with an array as a key. #613 | MatthewRudy | 2008-07-17 | 1 | -0/+5 |
| | | | | | | | | 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 | -1/+0 |
| | | | | | | | | This reverts commit 396f9df8916b71f83aad8d56559cf55fc8501679. | ||||
| * | Allow deep merging of hash values for nested with_options. [#490 state:resolved] | Lawrence Pit | 2008-07-17 | 2 | -1/+25 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Hash#slice supports an array of keys [#613 state:resolved] | Josh Owens | 2008-07-16 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | Merge with docrails. | Pratik Naik | 2008-07-16 | 5 | -10/+17 |
| | | |||||
| * | Added Object#metaclass | Joshua Peek | 2008-07-15 | 2 | -0/+9 |
| | |