- 29 3月, 2017 8 次提交
-
-
由 Fumiaki MATSUSHIMA 提交于
Sometimes we want to use rack_test partially instead of selenium for test speed: ```ruby class ApplicationSystemTestCase < ActionDispatch::SystemTestCase driven_by :selenium, using: :chrome, screen_size: [1400, 1400], options: {url: "http://chrome:4444/wd/hub"} end class WithJavaScriptTest < ApplicationSystemTestCase end class WithoutJavaScriptTest < ApplicationSystemTestCase driven_by :rack_test end ``` In the abobe case, `WithoutJavaScriptTest` uses selenium because `SystemTestCase` calls superclass' driver on `#initialize` (`self.class.superclass.driver.use`). Using `class_attribute` can handle inherited `driven_by`.
-
由 Rafael França 提交于
Make internal methods to private
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Add keep id suffix option to humanize new
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
No longer listens to dirs outside of the app directory.
-
由 Rafael França 提交于
Fix ActiveModel::Errors #keys, #values
-
由 Andrew White 提交于
Fix store accessors in parameters test
-
- 28 3月, 2017 17 次提交
-
-
由 bogdanvlviv 提交于
Before: person.errors.keys # => [] person.errors.values # => [] person.errors[:name] # => [] person.errors.keys # => [:name] person.errors.values # => [[]] After: person.errors.keys # => [] person.errors.values # => [] person.errors[:name] # => [] person.errors.keys # => [] person.errors.values # => [] Related to #23468
-
由 Rafael França 提交于
make it clear how to enable caching
-
由 Andrew White 提交于
If a country doesn't exist in the MAPPINGS hash then create a new `ActiveSupport::Timezone` instance using the supplied timezone id. Fixes #28431.
-
由 Yves Senn 提交于
The `master` changelog refer back to the `5-1-stable` changelog as a base. No need to duplicate backported entries in the changelogs on `master`.
-
由 Rafael Mendonça França 提交于
With Rack::Test the headers needs to match the `HTTP_` format. The tests were passing before because they are not asserting the response was a cache hit.
-
由 Rafael Mendonça França 提交于
Closes #28554
-
由 Rafael França 提交于
Merge pull request #28557 from y-yagi/remove_unnecessary_files_to_api_applications_when_app_task_task_executed Remove unnecessary files to API-only Applications when `app:task` task executed
-
由 Rafael Mendonça França 提交于
Remove -j (--javascript) option from `rails new`
-
由 Rafael Mendonça França 提交于
Since 4.2 the default log level in production is now debug. We removed the deprecation in c2e86584 but we don't reflected the default value. We are not appling it. Closes #28558
-
由 Rafael Mendonça França 提交于
Avoid converting integer as a string into float
-
由 Rafael França 提交于
Preprocess association query handling in predicate builder
-
由 Rafael França 提交于
Merge pull request #27636 from mtsmfm/disable-referential-integrity-without-superuser-privilege-take-2 Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser privileges (take 2)
-
由 Rafael França 提交于
fix migrate with empty version
-
由 Rafael França 提交于
Do not show hidden namespaces in destroy commnad help
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
-
由 Aaron Patterson 提交于
Prevent ujs event propagation if element disabled when event chain begins
-
- 27 3月, 2017 4 次提交
-
-
由 Eileen M. Uchitelle 提交于
ignore system test gems on Gemfile when execute with --skip-test option
-
由 ota42y 提交于
-
由 Philippe Guay 提交于
Add stronger assertions to rake migration tasks to make sure the user is providing a numeric VERSION An empty string was getting converted to version = 0. This would in turn pass the presence check. Address linting warning Add test for rake task and refactor code to meet expectations In particular passing VERSION=0 should not raise an error. Addressed Comments for PR #28485. Trimmed empty lines + change of wording for error message Adjust test for change of wording in error message Change condition to follow rails idioms
-
由 yuuji.yaginuma 提交于
-
- 26 3月, 2017 8 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Yves Senn 提交于
-
由 Yasuo Honda 提交于
-
由 Fumiaki MATSUSHIMA 提交于
Re-create https://github.com/rails/rails/pull/21233 eeac6151 was reverted (127509c0) because it breaks tests. ---------------- ref: 72c15572 - We must use `authors` fixture with `author_addresses` because of its foreign key constraint. - Tests require PostgreSQL >= 9.4.2 because it had a bug about `ALTER CONSTRAINTS` and fixed in 9.4.2.
-
由 Jon Moss 提交于
"3 Days before release" should an h2, like the rest of the day headings. All of the steps are h3 tags. [ci skip]
-
由 Jon Moss 提交于
Add apostrophe. [ci skip]
-
由 Jon Moss 提交于
Add necessary commas. [ci skip]
-
- 25 3月, 2017 3 次提交