aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add changelog entry for jsonp mimetype change, fix failing testCarlos Antonio da Silva2012-04-292-1/+3
| | | | Fix failing test: Mime::JS generates "text/javascript"
* Removed unclear doc in AR querying guide [ci skip]Vijay Dev2012-04-291-16/+0
| | | | | The range example used in array conditions is unclear and talks about the old 'conditions' option. Closes #4943.
* Merge pull request #6044 from gazay/tests_for_string_truncate_w_regexp_separatorJosé Valim2012-04-292-1/+10
|\ | | | | Tests for regexp separator in String#truncate
| * Tests for regexp separator in String#truncateAlexey Gaziev2012-04-292-1/+10
| | | | | | | | https://github.com/rails/rails/commit/5a7513593f64e0ff7e4de1ee37bac5eeddfae270
* | Don't convert params if the request isn't HTML - fixes #5341Andrew White2012-04-292-8/+58
| |
* | Merge pull request #5986 from carlosantoniodasilva/deprecation-behavior-silenceJosé Valim2012-04-293-2/+32
|\ \ | | | | | | Add a "silence" behavior to completely turn off deprecation warnings.
| * | Add test for default silence and stderr deprecation behaviorsCarlos Antonio da Silva2012-04-281-0/+20
| | |
| * | Document #behavior= and update CHANGELOGtwinturbo2012-04-282-0/+9
| | |
| * | Add a "silence" behavior to completely turn off deprecation warnings.Adam Hawkins2012-04-281-2/+3
| | |
* | | Avoid calling content type multiple timesJosé Valim2012-04-291-4/+6
| | |
* | | Merge pull request #2321 from omjokine/masterJosé Valim2012-04-292-2/+5
|\ \ \ | |_|/ |/| | JSONP should use mimetype application/javascript
| * | Merge remote-tracking branch 'upstream/master'Olli Jokinen2011-12-01745-24065/+35303
| |\ \
| * | | fixed test case test_render_json_with_callback to use content_type ↵Olli Jokinen2011-07-281-1/+1
| | | | | | | | | | | | | | | | application/javascript
| * | | Change mimetype to Mime::JS if JSONP is usedOlli Jokinen2011-07-281-1/+4
| | | |
* | | | Lazy load `default_form_builder` if it's passed as a stringPiotr Sarnacki2012-04-284-2/+27
| | | | | | | | | | | | | | | | closes #3341
* | | | Merge pull request #5996 from gazay/remove_excess_selfsJeremy Kemper2012-04-2841-324/+473
|\ \ \ \ | | | | | | | | | | Active Support housekeeping and polish
| * | | | String quotes and trailing spacesAlexey Gaziev2012-04-2921-126/+126
| | | | |
| * | | | Indentation for private methodsAlexey Gaziev2012-04-292-20/+18
| | | | | | | | | | | | | | | | | | | | https://github.com/rails/rails/commit/e7d55f734aae204115d0a04a2db774ac364c1312
| * | | | AS core_ext refactoring pt.2Alexey Gaziev2012-04-2920-86/+110
| | | | |
| * | | | AS core_ext refactoringAlexey Gaziev2012-04-2915-93/+220
| | | | |
* | | | | Allow Thor 0.15 and 1.0, to be released shortlytomhuda2012-04-281-1/+5
| | | | |
* | | | | Don't create new directory for testsPiotr Sarnacki2012-04-282-26/+24
| | | | |
* | | | | Fix Engine#routes to not call draw_paths multiple timesPiotr Sarnacki2012-04-282-2/+14
| | | | |
* | | | | Engine#routes? method has been fixedRoman V. Babenko2012-04-281-1/+1
| | | | |
* | | | | Add a failing test for #5764Piotr Sarnacki2012-04-281-0/+16
| | | | |
* | | | | Merge session arg with existing session instead of overwritingAndrew White2012-04-283-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This may break existing tests that are asserting the whole session contents but should not break existing tests that are asserting individual keys - e.g: class SomeControllerTest < ActionController::TestCase setup do session['user_id'] = 1 end test "some test" do get :some_action, nil, { 'another_var' => 2 } # This assertion will now fail assert_equal({ 'another_var' => 2 }, session) # This assertion will still pass assert_equal 2, session['another_var] end end Fixes #1529.
* | | | | Merge pull request #6028 from sikachu/master-fix_plpgsqlAaron Patterson2012-04-281-21/+29
|\ \ \ \ \ | | | | | | | | | | | | Create plpgsql language if not available
| * | | | | Create plpgsql language if not availablePrem Sichanugrist2012-04-271-21/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix the problem in Travis CI server. (http://travis-ci.org/#!/rails/rails/jobs/1194988)
* | | | | | Merge pull request #6035 from carlosantoniodasilva/amo-translation-refactorJosé Valim2012-04-283-12/+17
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | Refactor AMo::Translation, avoid changing options in human attr name
| * | | | | Refactor human attribute nameCarlos Antonio da Silva2012-04-282-7/+7
| | | | | |
| * | | | | Do not modify options hash in human_attribute_name, remove reverse_mergeCarlos Antonio da Silva2012-04-282-5/+10
|/ / / / /
* | | | | Use Rails::Queueing::Queue instead of Queue so people can build their own ↵José Valim2012-04-287-7/+15
| | | | | | | | | | | | | | | | | | | | consumers around stdlib's Queue
* | | | | Merge pull request #6025 from carlosantoniodasilva/amo-errors-refactorJosé Valim2012-04-281-7/+7
|\ \ \ \ \ | | | | | | | | | | | | Refactor AMo::Errors
| * | | | | Refactor AMo::ErrorsCarlos Antonio da Silva2012-04-271-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use merge!, remove reverse_merge * Use case statement instead of is_a? checks
* | | | | | Merge pull request #6024 from carlosantoniodasilva/amo-dirty-refactorJosé Valim2012-04-281-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Improve AMo::Dirty *_will_change! method
| * | | | | | Return earlier if attribute already changed in *_will_change! methodsCarlos Antonio da Silva2012-04-271-1/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | Avoid obtaining the value and duplicating it when possible.
* | | | | | Merge pull request #6029 from aderyabin/fix_deprJosé Valim2012-04-282-3/+3
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | removed deprecation warnings
| * | | | | removed deprecation warningsAndrey Deryabin2012-04-282-3/+3
|/ / / / /
* | | | | Merge pull request #6026 from sikachu/master-fix_warningSantiago Pastorino2012-04-271-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Add parentheses to hide Ruby warning
| * | | | Add parentheses to hide Ruby warningPrem Sichanugrist2012-04-271-1/+1
|/ / / /
* | | | Merge pull request #6023 from carlosantoniodasilva/fix-queue-testAaron Patterson2012-04-272-2/+2
|\ \ \ \ | | | | | | | | | | Fix failing test related to TestQueue
| * | | | Fix failing test, TestQueue#contents is not #jobsCarlos Antonio da Silva2012-04-272-2/+2
|/ / / /
* | | | Merge pull request #6021 from sikachu/log_exceptionJosé Valim2012-04-272-1/+21
|\ \ \ \ | | | | | | | | | | Log the exception from the ThreadConsumer
| * | | | Log the exception from the ThreadConsumerPrem Sichanugrist2012-04-272-1/+21
| | | | | | | | | | | | | | | | | | | | This will make sure you know when there's an exception occur.
* | | | | ensure that draining the queue will raise exceptionsAaron Patterson2012-04-271-0/+5
| | | | |
* | | | | adding the `jobs` method to the test queue for getting a list of testAaron Patterson2012-04-272-0/+14
|/ / / / | | | | | | | | | | | | jobs.
* | | | oops!Aaron Patterson2012-04-271-1/+0
| | | |
* | | | Extend stdlib queue for the test queueAaron Patterson2012-04-272-28/+12
| | | |
* | | | do not depend on timeAaron Patterson2012-04-271-4/+4
| | | |
* | | | Merge pull request #6020 from 7even/test_queue_orderAaron Patterson2012-04-272-1/+14
|\ \ \ \ | | | | | | | | | | Rails::Queueing::TestQueue run order