- 01 9月, 2014 1 次提交
-
-
由 Sammy Larbi 提交于
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
-
- 31 8月, 2014 4 次提交
-
-
由 Zachary Scott 提交于
-
由 Jeremy Kemper 提交于
[ActionMailer] Rename test/test_test to test/test_case_test
-
由 Zachary Scott 提交于
[ci skip] add line about text layout
-
由 Jeremy Kemper 提交于
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.
-
- 30 8月, 2014 17 次提交
-
-
由 Akira Matsuda 提交于
so this assertion causes random test fail
-
由 shruti2791 提交于
-
由 Abdelkader Boudih 提交于
-
由 Robin Dupret 提交于
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]
-
由 Xavier Noria 提交于
Use system /tmp for temp files when testing actionpack
-
由 Godfrey Chan 提交于
This was removed by mistake in 5e51bdda
-
由 Akira Matsuda 提交于
-
由 Aaron Patterson 提交于
`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
-
由 David Heinemeier Hansson 提交于
We tenderized the wrong method! Object#try already had the yield option, just needed some tenderloving instance_eval to fit the bill
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
由 Godfrey Chan 提交于
Fixed Active Job Backburner adapter
-
由 Cristian Bica 提交于
-
由 Akira Matsuda 提交于
This fixes random test failure in migrator_test.rb
-
- 29 8月, 2014 18 次提交
-
-
由 Santiago Pastorino 提交于
Make test:isolated run without bundler for Action Mailer
-
由 Santiago Pastorino 提交于
Avoid skipping Sidekiq tests on Rubinius
-
由 Robin Dupret 提交于
Now that Travis provides support for Rubinius 2.2.10, we can run the Sidekiq tests against this version.
-
由 Robin Dupret 提交于
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.
-
由 Robin Dupret 提交于
-
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.
-
由 Yves Senn 提交于
[ActiveJob] extract JobBuffer from helper
-
由 Abdelkader Boudih 提交于
-
由 Yves Senn 提交于
This reverts commit 16fe1983, reversing changes made to 4c81c8ce. The call to `Model.reset_column_information` was to express the intent of the test. `reset_column_information` itself can trigger SQL queries because it checks for a tables existance. Let's move it outside of the block. /cc @sgrif
-
由 Yves Senn 提交于
[ci skip] Fix example code of ActiveRecord::FixtureSet.context_class
-
由 Yves Senn 提交于
Don't rescue IPAddr::InvalidAddressError
-
由 Peter Suschlik 提交于
IPAddr::InvalidAddressError does not exist in Ruby 1.9.3 and fails for JRuby in 1.9 mode. As IPAddr::InvalidAddressError is a subclass of ArgumentError (via IPAddr::Error) just rescuing ArgumentError is fine.
-
由 yuuji.yaginuma 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-