aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add some documentation and examples for Base64 encode64 and decode64, and ↵Cody Fauser2008-09-212-2/+16
| | | | encode64s.
* Merge commit 'mainstream/master'Pratik Naik2008-09-139-42/+110
|\
| * Ensure Hash#except is allowed on a frozen hash. References #382Mislav Marohnić2008-09-131-1/+1
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte::Chars ↵Manfred Stienstra2008-09-113-0/+20
| | | | | | | | | | | | | | | | | | | | values. - Adds String#acts_like_string? - Adds Chars#acts_like_string? Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1029 state:committed]
| * Flesh out the parameterize method to support non-ascii text and underscores.Michael Koziarski2008-09-111-1/+1
| |
| * Add the Asia/Colombo definition from the tzinfo gemJamis Buck2008-09-111-0/+30
| |
| * Removed monitor from MemoryStore and created a seperate threadsafe store ↵Joshua Peek2008-09-102-39/+57
| | | | | | | | called SynchronizedMemoryStore
| * Fix Sri Jayawardenepura time zone to map to Asia/ColomboJamis Buck2008-09-101-1/+1
| |
* | Merge commit 'mainstream/master'Pratik Naik2008-09-1010-32/+70
|\|
| * Added Inflector#parameterize for easy slug generation ("Donald E. ↵David Heinemeier Hansson2008-09-102-0/+38
| | | | | | | | Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby]
| * No local variable in the global namespace plzDavid Heinemeier Hansson2008-09-091-3/+2
| |
| * Fixed that REXML fix would break on earlier versions of ruby (Frederick ↵David Heinemeier Hansson2008-09-091-1/+3
| | | | | | | | Cheung) [state:resolved #987]
| * Revert "Remove the Version check as it's not always available."David Heinemeier Hansson2008-09-091-20/+22
| | | | | | | | This reverts commit 6e2851d4261fbbea00e8e74802a507a89af80e2f.
| * Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-09-091-22/+20
| |\
| | * Remove the Version check as it's not always available.Michael Koziarski2008-09-091-22/+20
| | |
| * | Check whether memoized ivar is initializedJeremy Kemper2008-09-081-1/+1
| |/
| * Fix indentation mismatchJeremy Kemper2008-09-083-3/+3
| |
| * Don't shadow arg with block varJeremy Kemper2008-09-081-2/+2
| |
| * BigDecimal to_s and yaml housekeepingJeremy Kemper2008-09-081-22/+18
| |
| * Ruby 1.9 compat: use method_defined? instead of instance_methods.include? ↵Jeremy Kemper2008-09-061-3/+6
| | | | | | | | Don't encourage args abuse by flattening.
* | Merge commit 'mainstream/master'Pratik Naik2008-09-053-4/+9
|\|
| * Changed all benchmarking reports to be in millisecondsDavid Heinemeier Hansson2008-09-051-1/+1
| |
| * Deprecate %d and %s in message interpolation, but only in the bundled i18n lib.Jeremy Kemper2008-09-041-2/+7
| |
| * Handle the case where there is no ivar set.Michael Koziarski2008-09-041-1/+1
| | | | | | | | This happens on jruby due to a bug, but also on historically marshalled data.
| * Merge docrailsPratik Naik2008-09-031-0/+10
| |
* | Changed variable names for in_groups_of to make more obviousAlan Harper2008-09-041-6/+6
| |
* | Merge commit 'mainstream/master'Pratik Naik2008-09-0317-191/+331
|\| | | | | | | | | | | Conflicts: actionpack/lib/action_controller/resources.rb
| * Add each_with_object from 1.9 for a more convenient alternative to inject.Adam Keys2008-09-031-1/+21
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#962 state:committed]
| * Whitespace.Clemens Kofler2008-09-031-5/+5
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Database connections are now pooled, one pool per #establish_connection call.Jeremy Kemper2008-09-0211-174/+228
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Koziarski2008-09-021-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 Kemper2008-08-315-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb
| | * I18n: applied Luca Guidi's patch for better #interpolate performanceSven Fuchs2008-08-301-17/+20
| | | | | | | | | | | | | | | | | | [#943 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| | * Move some core extension methods into a module under the ↵Hongli Lai (Phusion)2008-08-294-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 alsoNick2008-08-291-2/+2
| | |
| * | Module#synchronize: Add testcase to ensure that singleton methods can be wrappedNick2008-08-291-1/+0
| | |
| * | Add method punctuation handling to #synchronizeNick2008-08-291-3/+5
| | |
| * | Adds Module#synchronize for easier method-level synchronization.Nick2008-08-292-0/+36
| |/
| * Deprecate render_component.Pratik Naik2008-08-291-1/+1
| | | | | | | | | | Please install render_component plugin from http://github.com/rails/render_component/tree/master if your application uses this functionality.
| * Date#freeze bug doesn't affect Ruby 1.9Jeremy Kemper2008-08-281-7/+11
| |
| * Date#freeze bug doesn't affect Ruby 1.9Jeremy Kemper2008-08-281-8/+17
| |
| * Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-08-281-0/+16
| |\
| | * Deprecated implicit local assignments when rendering partialsJoshua Peek2008-08-281-0/+16
| | |
| * | Reinstate Range#step default argument.Bradford Folkens2008-08-271-2/+2
| |/ | | | | | | | | | | [#595 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Merge commit 'mainstream/master'Pratik Naik2008-08-2831-1119/+791
|\| | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/callbacks.rb activeresource/lib/active_resource/base.rb
| * Merge commit 'sven/i18n'Jeremy Kemper2008-08-273-23/+5
| |\ | | | | | | | | | | | | Conflicts: activesupport/lib/active_support.rb
| | * I18n: remove #populate from Simple backend as wellMarko Seppae2008-08-271-7/+0
| | |
| | * I18n: removed call to #populate from main library filesMarko Seppae2008-08-271-3/+1
| | |
| | * I18n: removed #populate and #store_translations from apiMarko Seppae2008-08-272-13/+4
| | |
| * | Moved Logger extensions into core_extJoshua Peek2008-08-273-129/+128
| | |