aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'mainstream/master'Pratik Naik2008-10-059-18/+251
|\ | | | | | | | | | | Conflicts: activerecord/lib/active_record/association_preload.rb
| * Add tests for ActiveSupport::Rescuable. Use ActiveSupport::Rescuable in ↵Pratik Naik2008-10-044-20/+133
| | | | | | | | ActionController::Base.
| * First draft of ActiveSupport::RescuableNorbert Crombach2008-10-041-0/+74
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * 1.8 compatibility for random_number method on SecureRandom.Michael Koziarski2008-10-042-2/+6
| | | | | | | | 1.9 has its own version.
| * Fix mismatched assertions.Michael Koziarski2008-10-041-2/+2
| |
| * added nicer failure reporting to #assert_difference to tell you the ↵madlep2008-10-032-4/+25
| | | | | | | | | | | | | | expression that failed rather than just the expected and actual values Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1161 state:committed]
| * Provide alternate implementation of Object#subclasses_of for JRubyNick Sieger2008-10-031-12/+33
| | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1144 state:committed]
* | Merge commit 'mainstream/master'Pratik Naik2008-09-2743-1696/+2156
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/Rakefile railties/doc/guides/activerecord/association_basics.txt railties/doc/guides/debugging/debugging_rails_applications.txt railties/doc/guides/getting_started_with_rails/getting_started_with_rails.txt railties/doc/guides/index.txt railties/doc/guides/migrations/foreign_keys.txt railties/doc/guides/migrations/migrations.txt railties/doc/guides/migrations/writing_a_migration.txt railties/doc/guides/routing/routing_outside_in.txt
| * slice now returns indifferent hash if called on oneadam2008-09-231-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1096 state:committed]
| * Adds failed test case for slicing hash with indifferent access with symbol keysadam2008-09-231-0/+10
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Modified ActiveSupport::Inflector#parameterize with code from slugalizer ↵Adam Cigánek2008-09-233-6/+21
| | | | | | | | | | | | | | | | | | (http://github.com/henrik/slugalizer) Handles trailing and leading slashes, and squashes repeated separators into a single character. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1034 state:committed]
| * Changelog entry for manfred's multibyte changesMichael Koziarski2008-09-221-0/+4
| |
| * Merge branch 'patches' into multibyteMichael Koziarski2008-09-221-1/+1
| |\
| | * Bump the Version constants to align with the *next* release rather than the ↵Michael Koziarski2008-09-221-1/+1
| | | | | | | | | | | | | | | | | | previous release. This allows people tracking non-release gems or git submodules to use the constants.
| * | Set encoding of the multibyte test helpers file to UTF-8 so the strings can ↵Manfred Stienstra2008-09-211-0/+2
| | | | | | | | | | | | be read by Ruby 1.9.
| * | Change call to String#chars in inflector to String#mb_chars.Manfred Stienstra2008-09-211-1/+1
| | |
| * | Deprecated String#chars in favor of String#mb_chars.Manfred Stienstra2008-09-212-1/+10
| | |
| * | Move multibyte test helpers to a separate file and make the conformance ↵Manfred Stienstra2008-09-213-22/+26
| | | | | | | | | | | | tests run again.
| * | Add tests for u_unpack to make sure it raises an EncodingError on invalid ↵Manfred Stienstra2008-09-212-1/+12
| | | | | | | | | | | | UTF-8 strings.
| * | Non-string results from forwarded methods should be returned vertabim.Manfred Stienstra2008-09-212-9/+15
| | |
| * | Improve documentation.Manfred Stienstra2008-09-214-67/+74
| | |
| * | All methods which normally return a string now return a proxy instance.Manfred Stienstra2008-09-212-9/+43
| | |
| * | Change all calls to String#chars to String#mb_chars.Manfred Stienstra2008-09-212-15/+15
| | |
| * | Move with_kcode helper to abstract_unit. Add tests for multibyte string ↵Manfred Stienstra2008-09-213-19/+61
| | | | | | | | | | | | extensions.
| * | Add a test for ActiveSupport::Multibyte::Chars.consumes?.Manfred Stienstra2008-09-211-1/+8
| | |
| * | Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9.Manfred Stienstra2008-09-2118-1550/+1562
| |/ | | | | | | | | | | * Unicode methods are now defined directly on Chars instead of a handler * Updated Unicode database to Unicode 5.1.0 * Improved documentation
| * I18n: Introduce I18n.load_path in favor of I18n.load_translations and change ↵Sven Fuchs2008-09-203-13/+30
| | | | | | | | | | | | Simple backend to load translations lazily. [#1048 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * I18n: move old-style interpolation syntax deprecation to Active Record. ↵Sven Fuchs2008-09-201-7/+0
| | | | | | | | | | | | [#1044 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fixed Time#end_of_quarter to not blow up on May 31st [#313 state:resolved]Carlos Brando2008-09-192-1/+2
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Ensure old buffers get properly cleared to avoid leaking memoryDuff OMelia2008-09-181-1/+1
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Enhance the test "some string" method to support creating 'pending' tests.Michael Koziarski2008-09-161-1/+7
| | | | | | | | If no block is provided to the test method, a default test will be generated which simply flunks. This makes it easy for you to generate a list of what you intend to do, then flesh it out with actual tests.
| * TimeWithZone #wday, #yday and #to_date avoid trip through #method_missinggbuesing2008-09-143-2/+6
| |
| * Add thorough tests for Time-object #past?, #future? and #today. Fix ↵gbuesing2008-09-146-42/+198
| | | | | | | | 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 Kofler2008-09-148-79/+199
| | | | | | | | classes to facilitate Date/Time comparisons.
| * Make sure the permissions check file is closed before being unlinked.Michael Koziarski2008-09-141-1/+1
| | | | | | | | [#1035 state:committed]
| * Merge docrailsPratik Naik2008-09-131-6/+6
| |
* | Improve explanation of with_optionsCody Fauser2008-09-211-1/+5
| |
* | Explain returning in a bit more detailCody Fauser2008-09-211-15/+31
| |
* | Change 'equals to' to 'equal to'Cody Fauser2008-09-211-9/+9
| |
* | 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-1314-43/+140
|\|
| * Ensure Hash#except is allowed on a frozen hash. References #382Mislav Marohnić2008-09-132-1/+15
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte::Chars ↵Manfred Stienstra2008-09-115-0/+30
| | | | | | | | | | | | | | | | | | | | 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-112-2/+5
| |
| * 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-102-1/+3
| |
* | Merge commit 'mainstream/master'Pratik Naik2008-09-1013-32/+83
|\|
| * Added Inflector#parameterize for easy slug generation ("Donald E. ↵David Heinemeier Hansson2008-09-105-0/+51
| | | | | | | | Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby]
| * No local variable in the global namespace plzDavid Heinemeier Hansson2008-09-091-3/+2
| |