- 27 11月, 2017 12 次提交
-
-
由 Andrew White 提交于
Fix CHANGELOG for CSP PR #31162 [ci skip]
-
由 Prathamesh Sonpatki 提交于
-
由 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 25 次提交
-
-
由 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
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Own style guide says we should be using parentheses for method calls with arguments.
-
由 Nikita Misharin 提交于
-
由 Rafael Mendonça França 提交于
Allow skip_default_ids option to be set in form_with
-
由 Rafael França 提交于
Improved logging of AJ's DelayedJob wrapper
-
由 Rafael Mendonça França 提交于
When the defaults being loaded are the 5.0 or 5.1 we disable generation of ids with form_with.
-
由 npezza93 提交于
When `form_with` was introduced we disabled the automatic generation of ids that was enabled in `form_for`. This usually is not an good idea since labels don't work when the input doesn't have an id and it made harder to test with Capybara. You can still disable the automatic generation of ids setting `config.action_view.form_with_generates_ids` to `false.`
-
由 Rafael Mendonça França 提交于
Even that collisions are unlikely we need to make sure the two strings are equal. Timing is not important in this case because this only runs after the comparison between the SHA256 digested strings returns true.
-
由 Rafael Mendonça França 提交于
Make variable_size_secure_compare public
-
- 25 11月, 2017 3 次提交
-
-
由 Eileen M. Uchitelle 提交于
Add :nodoc: to activerecord [ci skip]
-
由 Eileen M. Uchitelle 提交于
Ordinal methods should respect loaded records
-
由 Eileen M. Uchitelle 提交于
Update guide layout [ci skip]
-