aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use multibyte proxy class on 1.9, refactor Unicode.Norman Clarke2010-05-2113-701/+715
| | | | | | | | | | Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding. Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency. [#4594 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix failing test.José Valim2010-05-212-9/+9
|
* 1.day should respond_to kind_of tooNeeraj Singh2010-05-212-0/+2
| | | | | | [#4656 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Replace assert with assert_equal in some test casesNeeraj Singh2010-05-212-5/+5
| | | | | | [#4654 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix typo on rackup test (ht: pleax)José Valim2010-05-201-1/+1
|
* More accurate JRuby gem requirementsNick Sieger2010-05-201-5/+15
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com>
* refactor evals and adds some __FILE__ and __LINE__Santiago Pastorino2010-05-2017-60/+53
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'rails/master'Xavier Noria2010-05-19127-872/+1359
|\
| * group :mri deleted in favor of RUBY_ENGINE and RUBY_VERSION usage.Santiago Pastorino2010-05-191-8/+9
| | | | | | | | | | | | | | Allow use json, yajl-ruby and nokogiri on MRI and Rubinius only. jruby-debug added only for jruby platform Signed-off-by: José Valim <jose.valim@gmail.com>
| * Final iteration of use better testing methodsNeeraj Singh2010-05-1925-82/+82
| | | | | | | | | | | | [#4652 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fix xml serialization test [#4650 state:resolved]Anil Wadghule2010-05-191-2/+5
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Enable ruby-debug only for MRISantiago Pastorino2010-05-191-2/+2
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fixes a test on transaction_callbacks_test.rbSantiago Pastorino2010-05-191-2/+2
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Avoid instance variable @output_buffer not initializedSantiago Pastorino2010-05-191-1/+2
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Use better assertion methods for testingNeeraj Singh2010-05-1927-123/+116
| | | | | | | | | | | | [#4645 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * removes deprecations of last_(month|year) from master, they will be ↵Xavier Noria2010-05-195-39/+1
| | | | | | | | deprecated in 2.3 instead
| * Revert "Don't carry default value when changing column for a binary type on ↵Jeremy Kemper2010-05-182-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MySQL" Broke mysql tests. This reverts commit edec1afe25014749f0e2df86d27477b45586a9e3. Conflicts: activerecord/test/cases/migration_test.rb [#3234 state:open]
| * make add_index and remove_index more resilient; new rename_index method; ↵Étienne Barrié2010-05-188-13/+147
| | | | | | | | | | | | | | | | track database limits [#3452 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Avoid creating a Rack::Response object in the cookie middleware since it may ↵José Valim2010-05-181-9/+13
| | | | | | | | stream the body.
| * Fixes transaction callbacks testsSantiago Pastorino2010-05-181-23/+19
| | | | | | | | | | | | [#4640 state:committed] Signed-off-by: wycats <wycats@gmail.com>
| * Nested records (re: autosave) are now updated even when the intermediate ↵Ian White2010-05-184-2/+106
| | | | | | | | | | | | parent record is unchanged [#4242 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * assert_equal should be used instead of assertNeeraj Singh2010-05-181-1/+1
| | | | | | | | | | | | [#4629 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * expected value should come first in assert_equalNeeraj Singh2010-05-181-3/+3
| | | | | | | | | | | | [#4630 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Use assert_equal correctly in actionmailer test (exposing one as broken)Neeraj Singh2010-05-181-2/+3
| | | | | | | | | | | | [#4626 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Better error messages for some of ActiveSupport testsNeeraj Singh2010-05-181-6/+6
| | | | | | | | | | | | [#4635 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * assert should be replaced with assert_equal in a particular test caseNeeraj Singh2010-05-181-1/+1
| | | | | | | | | | | | [#4636 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Remove Model.clear_default_scopePratik Naik2010-05-182-16/+0
| |
| * Cut the fat and make session stores rely on request.cookie_jar and change ↵José Valim2010-05-188-134/+72
| | | | | | | | set_session semantics to return the cookie value instead of a boolean.
| * Fixed numericality validator in ActiveModel to reject hex numbers for floats ↵rohit2010-05-181-1/+1
| | | | | | | | | | | | completely [#4622 state:commited] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Add a valid hex that shouldn't be valid to ActiveModel numericality tests ↵rohit2010-05-181-1/+1
| | | | | | | | | | | | [#4622 state:commited] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Use assert_respond_to because it has better error messagingNeeraj Singh2010-05-183-8/+8
| | | | | | | | | | | | [#4628 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Remove deprecated methods since 2-3-stable.José Valim2010-05-182-46/+6
| |
| * Kill legacy dispatcher.José Valim2010-05-182-26/+0
| |
| * Simplify cookie_store by simply relying on cookies.signed.José Valim2010-05-189-151/+138
| |
| * Rely on set and delete cookie logic from rack.José Valim2010-05-182-33/+6
| |
| * Renames Array#rand -> Array#random_elementRizwan Reza2010-05-174-17/+5
| | | | | | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
| * Merge remote branch 'origin/master'wycats2010-05-174-3/+38
| |\
| | * Added default currency values to NumberHelper and pass them to I18n.translateSantiago Pastorino2010-05-172-2/+22
| | | | | | | | | | | | | | | | | | [#4604 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
| | * Allow root to be given in the resources scope without need to specify :on => ↵José Valim2010-05-172-1/+16
| | | | | | | | | | | | collection.
| * | Merge branch 'encodings'wycats2010-05-172-5/+9
| |\ \
| | * | Make sure encoding changes don't break 1.8wycats2010-05-172-5/+9
| | | |
| * | | Revert "Moved encoding work in progress to a feature branch."wycats2010-05-1722-89/+488
| | |/ | |/| | | | | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517.
| * | Valid hex strings aren't valid float column values, to match the integer ↵Jeremy Kemper2010-05-172-4/+9
| | | | | | | | | | | | restriction. [#4622 state:resolved]
| * | Use assert_equal correctly in transaction callback tests (exposing some of ↵Paco Guzman2010-05-171-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | them as broken) [#4612] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Ruby 1.9: helper path may be a pathname, so convert to a string before ↵Jeremy Kemper2010-05-161-1/+1
| | | | | | | | | | | | quoting for regexp
| * | AR::Base#clone fixed to set dirty bits for cloned objectpleax2010-05-162-1/+57
| | | | | | | | | | | | | | | | | | [#2919 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | cache connection when quotingComron Sattari2010-05-161-5/+6
| | | | | | | | | | | | | | | | | | | | | [#3642 state:committed] Signed-off-by: Marius Nuennerich <marius@nuenneri.ch> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | | in Ruby things in general happen at runtime, no need to specify thatXavier Noria2010-05-191-2/+3
| | |
* | | Updating the doc with the info that class_inheritable_accessorNeeraj Singh2010-05-191-0/+2
| | | | | | | | | | | | copies properties to child at runtime
* | | Testing guide: Replace removed wordJosiah Ivey2010-05-181-1/+1
| | |