aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Reset ActiveRecord::SchemaDumper.ignore_tables value after changed in testsAkira Matsuda2014-09-032-26/+21
| | | | | | | |
* | | | | | | | Merge pull request #16777 from seuros/testcaseMatthew Draper2014-09-031-0/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix failing tests in ActiveJob Adapter
| * | | | | | | | Fix failing tests in ActiveJob AdapterAbdelkader Boudih2014-09-021-0/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #16778 from yahonda/if_existsRafael Mendonça França2014-09-024-6/+6
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | Remove 'if exists' from drop table statement then use `table_exists?`
| * | | | | | | | Remove 'if exists' from drop table statement then use `table_exists?`Yasuo Honda2014-09-034-6/+6
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 'drop table if exists' statement does not always work with some databases such as Oracle.
* | | | | | | | Add a quick straw-man Incompatibilities sectionMatthew Draper2014-09-031-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Is this a thing we want? Note current duplication between the `assert_select` section here, and the corresponding release note entry... does this detail *move* from there to here? [ci skip]
* | | | | | | | Merge pull request #16762 from ↵Aaron Patterson2014-09-021-35/+52
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eileencodes/refactor-add_constraints-complex-loop-conditional Refactor add_constraints complex loop conditional
| * | | | | | | | Break conditional branches into separate methodseileencodes2014-09-011-35/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This breaks the two branches of the `if reflection.last` and `else` to clearer see where the two methods can be refactored. Eventually we hope to remove the need for these separated methods altogether. Move the first branch outside the loop This code doesn't need to be in the loop because it it always affects the last chain. `get_bind_values` and `add_constraints` must match in this context because `get_bind_values` is the caching of `add_constraints` Use each_cons to remove need for `chain[i + 1]` The `chain[i + 1]` is confusing because it's not immediately obvious what it's trying to achieve. The use of `each_cons` makes it clear we need to get the `next_reflection`.
* | | | | | | | | Merge pull request #16774 from cirosantilli/erb-erubis2Zachary Scott2014-09-021-3/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Shorten ActionView::Base doc summary line. [ci skip]
| * | | | | | | | | Shorten ActionView::Base doc summary line. [ci skip]Ciro Santilli2014-09-021-3/+4
| | | | | | | | | |
* | | | | | | | | | Merge pull request #16773 from cirosantilli/erb-erubisZachary Scott2014-09-021-1/+2
|\| | | | | | | | | | |_|/ / / / / / / |/| | | | | | | | Clarify Rails uses erubis not stdlin ERB. [ci skip]
| * | | | | | | | Clarify Rails uses erubis not stdlin ERB. [ci skip]Ciro Santilli2014-09-021-1/+2
|/ / / / / / / /
* | | | | | | | Merge pull request #16772 from satoryu/masterZachary Scott2014-09-021-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Remove '*' which doesn't belong [ci skip]
| * | | | | | | | Remove '*' which doesn't workTatsuya Sato2014-09-031-1/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | I found an * does not work in Markdown notation. It should be removed.
* | | | | | | | Merge pull request #16770 from arthurnn/add_string_strip_requireRafael Mendonça França2014-09-023-1/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add and Remove string/strip require
| * | | | | | | | Add and Remove string/strip requireArthur Neves2014-09-023-1/+3
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Method .strip_heredoc is defined in active_support/core_ext/string/strip.rb so we need to require it. [fixes #16677]
* | | | | | | | Merge pull request #16724 from seuros/testcaseRafael Mendonça França2014-09-0210-16/+531
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | [ActiveJob] TestCase
| * | | | | | | | [ActiveJob] TestCase (Will squash before merge)Abdelkader Boudih2014-09-025-31/+31
| | | | | | | | |
| * | | | | | | | [ActiveJob] TestCaseAbdelkader Boudih2014-09-028-365/+259
| | | | | | | | |
| * | | | | | | | [ActiveJob] TestCaseAbdelkader Boudih2014-09-0210-16/+637
| | | | | | | | |
* | | | | | | | | Leave all our tests as order_dependent! for nowMatthew Draper2014-09-027-0/+34
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're seeing too many failures to believe otherwise. This reverts commits bc116a55ca3dd9f63a1f1ca7ade3623885adcc57, cbde413df3839e06dd14e3c220e9800af91e83ab, bf0a67931dd8e58f6f878b9510ae818ae1f29a3a, and 2440933fe2c27b27bcafcd9019717800db2641aa.
* | | | | | | | Merge pull request #16672 from cristianbica/queue-classic-laterYves Senn2014-09-023-14/+46
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | ActiveJob: Implemented enqueue_at for QueueClassic
| * | | | | | | | ActiveJob: Implemented enqueue_at for QueueClassicCristian Bica2014-09-023-14/+46
|/ / / / / / / /
* | | | | | | | Merge pull request #16767 from y-yagi/fix_message_delivery_docYves Senn2014-09-021-3/+3
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | [ci skip] Fix a typo in the doc of MessageDelivery
| * | | | | | | [ci skip] Fix a typo in the doc of MessageDeliveryyuuji.yaginuma2014-09-021-3/+3
|/ / / / / / /
* | | | | | | Merge pull request #16450 from ↵Yves Senn2014-09-025-5/+48
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tgxworld/dont_swallow_error_when_identifying_constant_from_test_name Do not swallow exception on NameError within constant.
| * | | | | | | Use `safe_constantize`.Guo Xiang Tan2014-09-024-5/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/rails/rails/issues/9933.
* | | | | | | | remove trailing whitespace. [ci skip]Yves Senn2014-09-021-2/+2
| | | | | | | |
* | | | | | | | MySQL: skip GTID-unsafe statement tests when enforce_gtid_consistency is enabledJeremy Kemper2014-09-013-23/+31
| | | | | | | |
* | | | | | | | Move implementation to the gemsRafael Mendonça França2014-09-012-22/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now we keep only the common code and move the specific code to the gems
* | | | | | | | Add test to assert the right sanitizer vendor is being usedRafael Mendonça França2014-09-012-1/+42
| |/ / / / / / |/| | | | | |
* | | | | | | Remove warningRafael Mendonça França2014-09-011-2/+2
| | | | | | |
* | | | | | | Try with web-console masterRafael Mendonça França2014-09-011-1/+1
| | | | | | |
* | | | | | | Use jquery-rails masterRafael Mendonça França2014-09-012-2/+2
|/ / / / / /
* | | | | | Merge pull request #16704 from ankit1910/use-existing-methodRafael Mendonça França2014-09-011-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | use self instead of #read_attribute
| * | | | | | use self instead of #read_attributeankit19102014-08-261-1/+1
| | | | | | |
* | | | | | | Clear schema cache before each testAkira Matsuda2014-09-011-0/+1
| | | | | | |
* | | | | | | Merge pull request #16763 from brainopia/patch-1Godfrey Chan2014-09-011-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix for configuring rails guide [ci skip]
| * | | | | | | Fix for configuring rails guideRavil Bayramgalin2014-09-011-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | `ActiveSupport::Logger` has no concept like auto flushing since it has no userspace buffering. It's a remnant of `ActiveSupport::BufferedLogger` epoch which was since removed from rails.
* | | | | | | Clear schema cache before each testAkira Matsuda2014-09-011-0/+1
| | | | | | |
* | | | | | | Merge pull request #16755 from codeodor/masterAaron Patterson2014-08-312-3/+36
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Allow polymorphic routes with nil when a route can still be drawn
| * | | | | | | Allow polymorphic routes with nil when a route can still be drawnSammy Larbi2014-08-312-3/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppose you have two resources routed in the following manner: ```ruby resources :blogs do resources :posts end resources :posts ``` When using polymorphic resource routing like `url_for([@blog, @post])`, and `@blog` is `nil` Rails should still try to match the route to the top-level posts resource. Fixes #16754
* | | | | | | | Keep it closer to the original wording [ci skip]Godfrey Chan2014-08-311-1/+1
| | | | | | | |
* | | | | | | | Merge pull request #16747 from rsutphin/web-console-gemfile-commentGuillermo Iguaran2014-08-311-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Clarify that /console is an optional feature
| * | | | | | | Since /console is an optional feature, mention <%= console %> instead.Rhett Sutphin2014-08-311-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | (/console is not mounted by default with web-console 2.0.)
* | | | / / / Clean up grammar from #16752 [ci skip]Zachary Scott2014-08-301-2/+2
| |_|_|/ / / |/| | | | |
* | | | | | Merge pull request #16751 from seuros/renameJeremy Kemper2014-08-301-0/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | [ActionMailer] Rename test/test_test to test/test_case_test
| * | | | | | [ActionMailer] Rename test/test_test to test/test_case_testAbdelkader Boudih2014-08-301-0/+0
| | | | | | |
* | | | | | | Merge pull request #16752 from Shruti2791/shruti_workspaceZachary Scott2014-08-301-1/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | [ci skip] add line about text layout
| * | | | | | | [ci skip] add line about text layoutshruti27912014-08-301-1/+2
| |/ / / / / /