- 28 11月, 2017 6 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
Update Rails on Rack guide [ci skip]
-
由 Francis Go 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
Added first draft of Rails 5.2 release notes [ci skip]
-
由 Rafael Mendonça França 提交于
This will keep the behavior of an application with the defaults of a 4.2 or 5.0 application behaving the same when upgrading to 5.2.
-
- 27 11月, 2017 18 次提交
-
-
由 yuuji.yaginuma 提交于
Since `ContentSecurityPolicy::Middleware` is not loaded in API-only Applications, initializer is unnecessary. Ref: https://github.com/rails/rails/blob/9c10fec4c06da38f8975dfb851f4d899aa85f8b7/railties/lib/rails/application/default_middleware_stack.rb#L66..L68
-
由 Prathamesh Sonpatki 提交于
-
由 Andrew White 提交于
Added missing test for presence of CSP initializer
-
由 Andrew White 提交于
Fix CHANGELOG for CSP PR #31162 [ci skip]
-
由 Prathamesh Sonpatki 提交于
-
由 Prathamesh Sonpatki 提交于
-
由 Prathamesh Sonpatki 提交于
-
由 Prathamesh Sonpatki 提交于
- Followup of #31162
-
由 Andrew White 提交于
-
由 Andrew White 提交于
Add DSL for configuring Content-Security-Policy header
-
由 Ryuta Kamizono 提交于
The def with blank `()` was newly added in #31176, but we have not used the blank `()` style in most part of our code base. So I've enabled `Style/DefWithParentheses` to prevent to newly added the code.
-
由 Guillermo Iguaran 提交于
Use Puma 3.11 in newly generated applications
-
由 yuuji.yaginuma 提交于
In order to use early hints, need to use Puma 3.11.0 or higher. So, I think that should specify that version in newly generated applications. Ref: https://github.com/puma/puma/commit/f6f3892f4d82638fb7a2a57d993641b1486ee88a
-
由 Rafael França 提交于
Clean database naming ambiguity
-
由 Ryuta Kamizono 提交于
Add new error class `QueryCanceled` which will be raised when canceling statement due to user request (#31235) This changes `StatementTimeout` to `QueryCanceled` for PostgreSQL. In MySQL, errno 1317 (`ER_QUERY_INTERRUPTED`) is only used when the query is manually cancelled. But in PostgreSQL, `QUERY_CANCELED` error code (57014) which is used `StatementTimeout` is also used when the both case. And, we can not tell which reason happened. So I decided to introduce new error class `QueryCanceled` closer to the error code name.
-
由 Ryuta Kamizono 提交于
Since #31129, new error class `StatementTimeout` has been added. `TransactionTimeout` is caused by the timeout shorter than `StatementTimeout`, but its name is too generic. I think that it should be a name that understands the difference with `StatementTimeout`.
-
由 Kasper Timm Hansen 提交于
Remove field ids from scaffold form
-
- 26 11月, 2017 16 次提交
-
-
由 eileencodes 提交于
This reverts commit 0f79ab91, reversing changes made to d575f7f2. This PR philosophically conflicts with #30800 and Matthew thinks we should hold off merging this until we find concensus. Reverting since we're about to cut a release for 5.2.
-
由 Alberto Almagro 提交于
In some places this file referred to the database in three different ways: database, DB and db. The last one caused confusion with the db namespace and the db folder. This commit removes this ambiguity by using the whole word 'database' everywhere
-
由 Matthew Draper 提交于
This reverts commit 536d3068.
-
由 Matthew Draper 提交于
Flush idle database connections
-
由 Matthew Draper 提交于
minor Engines guide copyedits: neutral language, verb tense, comma splice [ci skip]
-
-
-
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
-
由 yuuji.yaginuma 提交于
This was added with 27f103fc for link labels and fields. However, `form_with` changed to generates ids by default with d3893ec3. So I think that adding an explicit ids is unnecessary.
-
由 yuuji.yaginuma 提交于
When load `5.1` config, `form_with_generates_remote_forms` is set. https://github.com/rails/rails/blob/89a209f1abba5a2320d31c4898dea150c0abd0c0/railties/lib/rails/application/configuration.rb#L86
-
由 Rafael França 提交于
Provide arguments to RecordNotFound
-
由 Rafael França 提交于
Fix names of http authentication modules in api only guides
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
form_with_generates_ids
-