aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Fix leaky `only: …` option for Active Job assertionsJeremy Kemper2015-03-062-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The filter was set on the pseudo-global TestAdapter but not restored to its original value. See e818f65770fe115ab1cc7fbacc0e7e94d92af6a4
* | | | | Merge pull request #19230 from prathamesh-sonpatki/fix-clear-docRobin Dupret2015-03-061-0/+3
|\ \ \ \ \ | | | | | | | | | | | | Updated documentation of CollectionProxy#clear [ci skip]
| * | | | | Updated documentation of CollectionProxy#clear [ci skip]Prathamesh Sonpatki2015-03-061-0/+3
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - CollectionProxy#clear method calls delete_all so the SQL is directly run into the database. - So the updated_at column of the object on which its run is not updated. - Closes #17161
* | | | | Merge pull request #19221 from matthewd/random-testsMatthew Draper2015-03-0610-37/+4
|\ \ \ \ \ | | | | | | | | | | | | Run all our tests in random order
| * | | | | Revert "For now, we will keep sorting the tests."Matthew Draper2015-03-064-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7025d7769dc53f0a3ffab8b537727ef3fee367fc.
| * | | | | Revert "Leave all our tests as order_dependent! for now"Matthew Draper2015-03-066-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2f52f969885b2834198de0045748436a4651a94e. Conflicts: actionmailer/test/abstract_unit.rb actionview/test/abstract_unit.rb activemodel/test/cases/helper.rb activerecord/test/cases/helper.rb activesupport/test/abstract_unit.rb railties/test/abstract_unit.rb
* | | | | | tests, sequences are derived from the base class.Yves Senn2015-03-061-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a subclass to check the sequence name does not work in that case. The sequence name will be calucalted based on the base class.
* | | | | | Revert ":cut: remove unnecessary rescue Exceptions"Yves Senn2015-03-063-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ff18049ca6f27deb7e7f955478e1464f8d756332. This broke the AR build for every adapter: 1) Error: AssociationCallbacksTest#test_dont_add_if_before_callback_raises_exception: Exception: You can't add a post 2) Failure: QueryCacheTest#test_query_cache_doesnt_leak_cached_results_of_rolled_back_queries [/Users/senny/Projects/rails/activerecord/test/cases/query_cache_test.rb:235]: Expected: 1 Actual: 0 I'm reverting to get the build green again.
* | | | | | replace `repair_validations` with a disposable subclass.Yves Senn2015-03-061-32/+33
| | | | | |
* | | | | | Remove a duplicated changelog entry [ci skip]Robin Dupret2015-03-061-7/+0
| |/ / / / |/| | | | | | | | | | | | | | This entry now lives in the Action View's changelog ; refs 8a3bd089.
* | | | | tests, remove side effects on `Joke` during `base_test.rb`.Yves Senn2015-03-061-23/+28
| | | | | | | | | | | | | | | | | | | | prompted by #19221.
* | | | | Merge pull request #19225 from cristianbica/integration-testsYves Senn2015-03-064-3/+9
|\ \ \ \ \ | | | | | | | | | | | | Fixed ActiveJob integration tests
| * | | | | Fixed ActiveJob integration testsCristian Bica2015-03-054-3/+9
| | | | | |
* | | | | | put the changelog entry in the right file :sweat: [ci skip]Yves Senn2015-03-061-0/+7
| | | | | |
* | | | | | `number_to_percentage` and `precision: 0` work with `NAN` and `INFINITY`.Yves Senn2015-03-064-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | Closes #19227.
* | | | | | Merge pull request #19224 from davydovanton/doc-update-seconds-since-midnightAbdelkader Boudih2015-03-061-1/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | [ci skip] Update documentation for Time#seconds_since_midnight
| * | | | | | [ci skip] Update documentation for Time#seconds_since_midnightAnton Davydov2015-03-061-1/+5
| |/ / / / /
* | | | | | Change *args to arg in CallbackSequence#calleileencodes2015-03-051-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `CallbackSequence#call` can only ever take one argument. Using `*args` here produces unnecessary array allocations. Since it only ever takes one argument we should use `arg` instead of `*args`.
* | | | | | don't need to rescue Exception in this caseAaron Patterson2015-03-052-1/+7
| | | | | |
* | | | | | :cut: remove unnecessary rescue ExceptionsAaron Patterson2015-03-053-3/+3
| | | | | |
* | | | | | remove unnecessary rescueAaron Patterson2015-03-051-2/+0
|/ / / / /
* | | | | pass a config to the route setAaron Patterson2015-03-055-12/+43
| | | | | | | | | | | | | | | | | | | | | | | | | This way we can get the relative_url_root from the application without setting another global value
* | | | | Merge pull request #19222 from davydovanton/doc-delete-excess-whiteArthur Nogueira Neves2015-03-051-1/+1
|\ \ \ \ \ | | | | | | | | | | | | [ci skip] Delete excess white in documentation
| * | | | | [ci skip] Delete excess white in documentationAnton Davydov2015-03-051-1/+1
|/ / / / /
* | | | | Revert "Allow failures with Active Job"Jeremy Kemper2015-03-051-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Travis is green. Let's keep it that way rather than let AJ languish as a second-class citizen. This reverts commit 2a6b3e14cff61639978a55f47aea9ff4c8e72758.
* | | | | Merge pull request #19220 from ↵Kasper Timm Hansen2015-03-051-1/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | davydovanton/doc-add-info-about-sanitize-to-highlight [ci skip] Add information about sanitize option in TextHelper#highlight
| * | | | | [ci skip] Add information about sanitize option in TextHelper#highlightAnton Davydov2015-03-051-1/+6
| | | | | |
* | | | | | Use ruby 2.2.1 on TravisSean Griffin2015-03-051-1/+1
| |/ / / / |/| | | |
* | | | | Merge pull request #19215 from ↵Sean Griffin2015-03-053-7/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gsamokovarov/revert-ruby-2-2-0-kwarg-crash-workarounds Revert work arounds for upstream Ruby 2.2.0 kwargs bug
| * | | | | Revert work arounds for upstream Ruby 2.2.0 kwargs bugGenadi Samokovarov2015-03-053-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug caused a segfault and you can find more info about it at: https://bugs.ruby-lang.org/issues/10685. We did a couple of work arounds, but 2.2.1 rolled out and those aren't needed anymore. Here are the reverted commits: - Revert "Work around for upstream Ruby bug #10685", commit 707a433870e9e06af688f85a4aedc64a90791a64. - Revert "Fix segmentation fault in ActionPack tests", commit 22e0a22d5f98e162290d9820891d8191e720ad3b. I'm also bumping the Ruby version check to 2.2.1 to prevent future segfaults.
* | | | | | Merge pull request #19218 from sivsushruth/doc_fixKasper Timm Hansen2015-03-051-1/+1
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | Added doc [ci skip]
| * | | | | nodoc filtered_location [ci skip]Sushruth Sivaramakrishnan2015-03-051-1/+1
| | | | | |
* | | | | | Merge pull request #19217 from tgxworld/run_actionpack_tests_in_random_orderYves Senn2015-03-051-5/+0
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Run ActionPack test cases in random order.
| * | | | | Run ActionPack test cases in random order.Guo Xiang Tan2015-03-061-5/+0
|/ / / / /
* | | | | Merge pull request #19214 from sivsushruth/doc_fixArthur Nogueira Neves2015-03-051-1/+1
|\| | | | | | | | | | | | | | Doc fix [ci skip]
| * | | | Doc fix [ci skip]Sushruth Sivaramakrishnan2015-03-051-1/+1
| | | | |
* | | | | Merge pull request #19180 from sivsushruth/masterArthur Nogueira Neves2015-03-051-0/+5
|\ \ \ \ \ | |_|/ / / |/| | | | If TZInfo-data is not present in windows, let the user know.
| * | | | If TZInfo-data is not present in windows, let the user know.Sushruth Sivaramakrishnan2015-03-041-0/+5
| | |/ / | |/| |
* | | | Some documentation edits [ci skip]Robin Dupret2015-03-057-22/+30
| | | | | | | | | | | | | | | | | | | | | | | | * Fix a few typos * Wrap some lines around 80 chars * Rephrase some statements
* | | | Merge pull request #19212 from sivsushruth/doc_fixRobin Dupret2015-03-051-1/+1
|\ \ \ \ | | |/ / | |/| | Doc fix [ci skip]
| * | | Doc fix [ci skip]Sushruth Sivaramakrishnan2015-03-051-1/+1
| | | |
* | | | Merge pull request #19211 from keepcosmos/add-enum-testcaseYves Senn2015-03-051-0/+14
|\ \ \ \ | | | | | | | | | | added a testcase for ActiveRecord::Enum
| * | | | add ActiveRecord::Enum testcase about multiple enums declaring at a timekeepcosmos2015-03-051-0/+14
|/ / / /
* | | | Merge pull request #19210 from sivsushruth/doc_fixAbdelkader Boudih2015-03-051-1/+1
|\| | | | | | | | | | | Doc fix [ci skip]
| * | | Doc fix [ci skip]Sushruth Sivaramakrishnan2015-03-051-1/+1
| | | |
* | | | add regression test. Closes #18400.Yves Senn2015-03-051-0/+6
| | | |
* | | | Merge pull request #19209 from sivsushruth/doc_fixAbdelkader Boudih2015-03-051-1/+1
|\| | | | | | | | | | | Doc fix [ci skip]
| * | | Doc fix [ci skip]Sushruth Sivaramakrishnan2015-03-051-1/+1
| | | |
* | | | Merge pull request #19207 from sivsushruth/doc_fixAbdelkader Boudih2015-03-051-2/+2
|\| | | | | | | | | | | Doc fix [ci skip]
| * | | Doc fix [ci skip]Sushruth Sivaramakrishnan2015-03-051-2/+2
| | | |