Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 4 | -19/+36 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -18/+13 |
| | | | | | | | | | | | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
| * | Fix test to not assume which thread finishes first | Jeremy Kemper | 2008-08-29 | 1 | -1/+2 |
| | | |||||
* | | 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] | ||||
* | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom. | Hongli Lai (Phusion | 2008-08-27 | 1 | -0/+15 |
| | | | | | | | SecureRandom has a few minor security enhancements and can be used as a drop-in replacement Signed-off-by: Michael Koziarski <michael@koziarski.com> [#913 state:committed] | ||||
* | Work around frozen Date memoization | Jeremy Kemper | 2008-08-25 | 1 | -4/+12 |
| | |||||
* | New inflectors will overwrite defaults [#337 state:resolved] | Peter Wagenet | 2008-08-23 | 1 | -0/+7 |
| | | | | Signed-off-by: Tarmo Tänav <tarmo@itech.ee> | ||||
* | camelize(:lower) should always downcase first character. [#696 state:resolved] | Amos King | 2008-08-22 | 2 | -0/+8 |
| | | | | 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> | ||||
* | Simplified and renamed CallbackChain union method to replace_or_append! | Joshua Peek | 2008-08-21 | 1 | -4/+4 |
| | |||||
* | Partial revert of 2681685 premature TypeArray abstraction | Joshua Peek | 2008-08-21 | 1 | -51/+0 |
| | |||||
* | Ensure objects cached with MemoryStore are immutable | Joshua Peek | 2008-08-19 | 1 | -0/+6 |
| | |||||
* | Maintain a seperate buffer for each thread | Joshua Peek | 2008-08-18 | 1 | -4/+25 |
| | |||||
* | Replace MemoryStore mutex with a monitor to avoid issues with nested calls | Joshua Peek | 2008-08-18 | 1 | -0/+24 |
| | |||||
* | Ensure results returned by a memoized method are immutable | Joshua Peek | 2008-08-13 | 1 | -0/+5 |
| | |||||
* | Marshal FileStore values | Joshua Peek | 2008-08-13 | 1 | -0/+27 |
| | |||||
* | memoize_ and unmemoize_all | Jeremy Kemper | 2008-08-13 | 1 | -0/+15 |
| | |||||
* | 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> | ||||
* | Fixed memoize with punctuation and freezing memoized methods with arguments | Jeremy Kemper | 2008-08-07 | 1 | -0/+15 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | MemoryStore is the only "unsafe" store. Make it threadsafe by default. | Joshua Peek | 2008-08-06 | 1 | -67/+0 |
| | |||||
* | Make File.atomic_write copy the original permissions or use the directories ↵ | Joshua Peek | 2008-08-06 | 1 | -6/+44 |
| | | | | default. | ||||
* | Added config.dependency_loading to enable or disable the dependency loader ↵ | Joshua Peek | 2008-07-24 | 1 | -0/+12 |
| | | | | after initialization | ||||
* | Extract ActiveSupport::TypedArray class to ensure an array is all of the ↵ | Joshua Peek | 2008-07-22 | 1 | -0/+51 |
| | | | | same type [#673 state:resolved] | ||||
* | Improved Memoizable test coverage and added support for multiple arguments | Joshua Peek | 2008-07-22 | 1 | -39/+127 |
| | |||||
* | 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 |
| | |||||
* | Changed ActiveSupport::Memoizable API to extend since it mainly adds the ↵ | Joshua Peek | 2008-07-18 | 1 | -7/+35 |
| | | | | memoize class method | ||||
* | Allow memoized methods to be reloaded and allow multiple symbols | Joshua Peek | 2008-07-18 | 1 | -13/+26 |
| | |||||
* | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-07-17 | 1 | -0/+67 |
|\ | |||||
| * | Cleanup ActiveSupport::Cache::ThreadSafety module and add test coverage | Joshua Peek | 2008-07-17 | 1 | -0/+67 |
| | | |||||
* | | Merge branch 'master' into i18n-merge | Jeremy Kemper | 2008-07-17 | 3 | -0/+66 |
|\| | | | | | | | | | | | | | 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/+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. | ||||
| * | Revert "Run callbacks from object's metaclass" | Joshua Peek | 2008-07-16 | 1 | -24/+0 |
| | | |||||
| * | Allow deep merging of hash values for nested with_options. [#490 state:resolved] | Lawrence Pit | 2008-07-17 | 2 | -0/+37 |
| | | | | | | | | 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> | ||||
| * | Run callbacks from object's metaclass [#575 state:resolved] | Joshua Peek | 2008-07-15 | 1 | -0/+24 |
| | | |||||
| * | Added Object#metaclass | Joshua Peek | 2008-07-15 | 1 | -0/+8 |
| | | |||||
* | | make i18n date/time tests timezone independent | Sven Fuchs | 2008-07-16 | 1 | -10/+10 |
| | | |||||
* | | merge forward to current rails/master | Sven Fuchs | 2008-07-16 | 7 | -10/+314 |
|\| | |||||
| * | 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 | ||||
| * | Some performance tweaks to ActiveSupport::Memoizable | Tarmo Tänav | 2008-07-14 | 1 | -0/+4 |
| | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | memorize typo | Joshua Peek | 2008-07-14 | 1 | -2/+2 |
| | |