Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 8 | -365/+259 |
| | |||||
* | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 10 | -16/+637 |
| | |||||
* | Merge pull request #16450 from ↵ | Yves Senn | 2014-09-02 | 5 | -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 Tan | 2014-09-02 | 4 | -5/+41 |
| | | | | | | | | Fixes https://github.com/rails/rails/issues/9933. | ||||
* | | remove trailing whitespace. [ci skip] | Yves Senn | 2014-09-02 | 1 | -2/+2 |
| | | |||||
* | | MySQL: skip GTID-unsafe statement tests when enforce_gtid_consistency is enabled | Jeremy Kemper | 2014-09-01 | 3 | -23/+31 |
| | | |||||
* | | Move implementation to the gems | Rafael Mendonça França | 2014-09-01 | 2 | -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 used | Rafael Mendonça França | 2014-09-01 | 2 | -1/+42 |
| | | |||||
* | | Remove warning | Rafael Mendonça França | 2014-09-01 | 1 | -2/+2 |
| | | |||||
* | | Try with web-console master | Rafael Mendonça França | 2014-09-01 | 1 | -1/+1 |
| | | |||||
* | | Use jquery-rails master | Rafael Mendonça França | 2014-09-01 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #16704 from ankit1910/use-existing-method | Rafael Mendonça França | 2014-09-01 | 1 | -1/+1 |
|\ | | | | | use self instead of #read_attribute | ||||
| * | use self instead of #read_attribute | ankit1910 | 2014-08-26 | 1 | -1/+1 |
| | | |||||
* | | Clear schema cache before each test | Akira Matsuda | 2014-09-01 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #16763 from brainopia/patch-1 | Godfrey Chan | 2014-09-01 | 1 | -1/+1 |
|\ \ | | | | | | | Fix for configuring rails guide [ci skip] | ||||
| * | | Fix for configuring rails guide | Ravil Bayramgalin | 2014-09-01 | 1 | -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 test | Akira Matsuda | 2014-09-01 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #16755 from codeodor/master | Aaron Patterson | 2014-08-31 | 2 | -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 drawn | Sammy Larbi | 2014-08-31 | 2 | -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 Chan | 2014-08-31 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #16747 from rsutphin/web-console-gemfile-comment | Guillermo Iguaran | 2014-08-31 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Clarify that /console is an optional feature | ||||
| * | | Since /console is an optional feature, mention <%= console %> instead. | Rhett Sutphin | 2014-08-31 | 1 | -1/+1 |
|/ / | | | | | | | (/console is not mounted by default with web-console 2.0.) | ||||
* | | Clean up grammar from #16752 [ci skip] | Zachary Scott | 2014-08-30 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #16751 from seuros/rename | Jeremy Kemper | 2014-08-30 | 1 | -0/+0 |
|\ \ | | | | | | | [ActionMailer] Rename test/test_test to test/test_case_test | ||||
| * | | [ActionMailer] Rename test/test_test to test/test_case_test | Abdelkader Boudih | 2014-08-30 | 1 | -0/+0 |
| | | | |||||
* | | | Merge pull request #16752 from Shruti2791/shruti_workspace | Zachary Scott | 2014-08-30 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | [ci skip] add line about text layout | ||||
| * | | | [ci skip] add line about text layout | shruti2791 | 2014-08-30 | 1 | -1/+2 |
| |/ / | |||||
* | | | MySQL: set connection collation along with the charset | Jeremy Kemper | 2014-08-30 | 5 | -1/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sets the connection collation to the database collation configured in database.yml. Otherwise, `SET NAMES utf8mb4` will use the default collation for that charset (utf8mb4_general_ci) when you may have chosen a different collation, like utf8mb4_unicode_ci. This only applies to literal string comparisons, not column values, so it is unlikely to affect you. | ||||
* | | | AR#reset_column_information sometimes queries via table_exists? | Akira Matsuda | 2014-08-31 | 1 | -1/+1 |
|/ / | | | | | | | so this assertion causes random test fail | ||||
* | | Refer to the library name instead of the constant | Robin Dupret | 2014-08-30 | 7 | -7/+7 |
| | | | | | | | | | | | | | | | | | | When we are loading a component and we want to know its version, we are actually not speaking about the constant but the library itself. [ci skip] [Godfrey Chan & Xavier Noria] | ||||
* | | Merge pull request #16644 from Agis-/drb-tests-actionpack-vagrant | Xavier Noria | 2014-08-30 | 1 | -3/+1 |
|\ \ | | | | | | | Use system /tmp for temp files when testing actionpack | ||||
| * | | Use system /tmp when testing actionpack | Agis- | 2014-08-22 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/rails/rails/commit/c64bff2c87ebf363703c63ecd4a96d56a1a78364 added support and enabled parallel execution of the actionpack tests. However it introduced https://github.com/rails/rails/commit/c64bff2c87ebf363703c63ecd4a96d56a1a78364 since one cannot connect to a socket file that's inside a Vagrant synced folder due to security restrictions, and DRb tries to. Also rename the temporary files to make it obvious that they're rails-related, since now they're placed outside the project's directory. Fixes https://github.com/rails/rails/commit/c64bff2c87ebf363703c63ecd4a96d56a1a78364 | ||||
* | | | Bring back the test cases for `presence` | Godfrey Chan | 2014-08-29 | 1 | -0/+5 |
| | | | | | | | | | | | | This was removed by mistake in 5e51bdd | ||||
* | | | Forgot to set Migration.verbose at f8d9a51949d6f6cfcab7cc7d501e137836eb88dc ↵ | Akira Matsuda | 2014-08-30 | 1 | -1/+1 |
| | | | | | | | | | | | | :bomb: | ||||
* | | | reduce object allocations in utc_offset | Aaron Patterson | 2014-08-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | `try` allocates an array on every call, we should avoid calling it in hotspots. This reduced AttributeMethodsTest#test_setting_time_zone_aware_attribute_with_string from 18k allocations to 14k | ||||
* | | | We tenderized the wrong method! Object#try already had the yield option, ↵ | David Heinemeier Hansson | 2014-08-29 | 5 | -34/+20 |
| | | | | | | | | | | | | just needed some tenderloving instance_eval to fit the bill | ||||
* | | | Clarify the origin of this great addition to Rails :trollface: :trollface ↵ | David Heinemeier Hansson | 2014-08-29 | 1 | -1/+1 |
| | | | | | | | | | | | | :trollface: | ||||
* | | | Use instance_eval on @tenderlove's suggestion :trollface: | David Heinemeier Hansson | 2014-08-29 | 3 | -7/+8 |
| | | | |||||
* | | | Update examples to show real worth | David Heinemeier Hansson | 2014-08-29 | 2 | -2/+11 |
| | | | |||||
* | | | Added yield to Object#presence | David Heinemeier Hansson | 2014-08-29 | 3 | -1/+23 |
| | | | |||||
* | | | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2014-08-29 | 181 | -1044/+1779 |
|\ \ \ | |||||
| * \ \ | Merge pull request #16746 from cristianbica/fix-backburner-adapter | Godfrey Chan | 2014-08-29 | 1 | -1/+1 |
| |\ \ \ | | | | | | | | | | | Fixed Active Job Backburner adapter | ||||
| | * | | | Fixed Active Job Backburner adapter | Cristian Bica | 2014-08-30 | 1 | -1/+1 |
| |/ / / | |||||
| * | | | Don't allow AR::Tasks::DatabaseTasks.migrate to mutate Migration.verbose value | Akira Matsuda | 2014-08-30 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | This fixes random test failure in migrator_test.rb | ||||
| * | | | Merge pull request #16741 from robin850/am-isolated-wo-bundle | Santiago Pastorino | 2014-08-29 | 1 | -3/+2 |
| |\ \ \ | | | | | | | | | | | Make test:isolated run without bundler for Action Mailer | ||||
| | * | | | Make test:isolated run without bundler for Action Mailer | Robin Dupret | 2014-08-29 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Action Mailer tests weren't able to run in isolation without the bundle exec prefix since we were requiring gems before requiring abstract_unit. We don't need the `gem` call thus and the require_relative since the test directory should be present in the load path when we run any test. | ||||
| * | | | | Merge pull request #16742 from robin850/rbx-aj-sidekiq | Santiago Pastorino | 2014-08-29 | 1 | -8/+2 |
| |\ \ \ \ | | |/ / / | |/| | | | Avoid skipping Sidekiq tests on Rubinius | ||||
| | * | | | Avoid skipping Sidekiq tests on Rubinius | Robin Dupret | 2014-08-29 | 1 | -8/+2 |
| |/ / / | | | | | | | | | | | | | | | | | Now that Travis provides support for Rubinius 2.2.10, we can run the Sidekiq tests against this version. | ||||
| * | | | Some documentation fixes [ci skip] | Robin Dupret | 2014-08-29 | 3 | -10/+10 |
| | | | | |||||
| * | | | Don't test PostgreSQL implementation details | Akira Matsuda & Kohei Suzuki | 2014-08-29 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | Asserting that the message contains "QUERY PLAN" is enough for the adapter's test. The plan may vary according to number of tuples etc. but that's out of our concern. |