- 01 4月, 2020 2 次提交
-
-
由 David Heinemeier Hansson 提交于
* Add a way to deliver inbound emails by source Great for testing when you get an eml file and can just paste it in. * Test updates * Fix tests * Fix spacing
-
由 George Claghorn 提交于
-
- 31 3月, 2020 15 次提交
-
-
由 Eileen M. Uchitelle 提交于
Allow logs to be tagged without a block
-
由 Eugene Kenny 提交于
Calling `#tagged` without a block now returns a new logger with the tags applied. This is useful for when you want to tag an individual log line, rather than an entire request.
-
由 Eileen M. Uchitelle 提交于
Document working with association and checkboxes in a form
-
由 Cory Gwin @gwincr11 提交于
Motivation: - I frequently look for this in the docs then struggle to rememeber the name of the function I need to find in the api docs. Also I think other people may benefit from it being easier to find. Changes: - Added a section about Collection Checkboxes to the docs. Co-Authored-By: NEileen M. Uchitelle <eileencodes@users.noreply.github.com>
-
由 Carlos Antonio da Silva 提交于
Updates pg gem version
-
由 Eileen M. Uchitelle 提交于
.annotate_template_file_names annotates HTML output with template names
-
由 Ryuta Kamizono 提交于
Remove example of `ActionController::UrlRewriter` [ci skip]
-
由 Yukito Ito 提交于
-
由 Ryuta Kamizono 提交于
Add an example how to change column in "change_table" block [ci skip]
-
由 Wojciech Wnętrzak 提交于
[ci skip]
-
由 Eugene Kenny 提交于
Align `Range#cover?` extension behavior with plain Ruby behavior for "backwards" ranges
-
由 Michael Groeneman 提交于
`(1..10).cover?(5..3)` now returns `false`, as it does in plain Ruby. Previously this returned `true`. Also update `#include?` and `#===` behavior to match.
-
由 Joel Hawksley 提交于
As a developer, when looking at a page in my web browser, it's sometimes difficult to figure out which template(s) are being used to render the page. config.action_view.annotate_template_file_names adds HTML comments to the rendered output indicating where each template begins and ends. Co-authored-by: NAaron Patterson <tenderlove@github.com>
-
由 Rafael França 提交于
Fix invalid byte sequence error without `en_US.UTF-8` environment while rake guides:generate:html
-
由 Rafael França 提交于
added instructions how to release rails a plugin (gem)
-
- 30 3月, 2020 4 次提交
-
-
由 Ricardo Trindade 提交于
-
由 David Heinemeier Hansson 提交于
* require, require_relative, load by double quotes We're getting rid of all single quote usage, unless it serves a specific purpose, as per the general style guide.
-
由 Eugene Kenny 提交于
This test doesn't assert anything since e5a6f7ee.
-
由 Eugene Kenny 提交于
This was added in 9a27b297 to silence warnings about deprecated instance variables, see https://discuss.rubyonrails.org/t/internal-api-errors-in-edgerails/6082 for more details. The deprecations that it was silencing were removed in 83c8db98.
-
- 29 3月, 2020 10 次提交
-
-
由 eileencodes 提交于
-
由 Prathamesh Sonpatki 提交于
When we try to create a table which already exists which also adds indexes, then the `if_not_exists` option passed to `create_table` is not extended to indexes. So the migration results into an error if the table and indexes already exist. This change extends the `if_not_exists` support to `add_index` so that if the migration tries to create a table which also has existing indexes, error won't be raised. Also as a side-effect individual `add_index` calls will also accept `if_not_exists` option and respect it henceforth. [Prathamesh Sonpatki, Justin George]
-
由 Scott Blum 提交于
Base64 strict-encoded CSRF tokens are not inherently websafe, which makes them difficult to deal with. For example, the common practice of sending the CSRF token to a browser in a client-readable cookie does not work properly out of the box: the value has to be url-encoded and decoded to survive transport. Now, we generate Base64 urlsafe-encoded CSRF tokens, which are inherently safe to transport. Validation accepts both urlsafe tokens, and strict-encoded tokens for backwards compatibility.
-
由 Eugene Kenny 提交于
fix grammar - ci skip
-
由 londonoliver 提交于
-
由 Kasper Timm Hansen 提交于
-
由 Phil Ross 提交于
Co-authored-by: NJared Beck <jared@jaredbeck.com> Co-authored-by: NJonathan Hefner <jonathan@hefner.pro>
-
由 Kasper Timm Hansen 提交于
Introduce previously_new_record? on ActiveRecord::Base
-
由 Kasper Timm Hansen 提交于
-
- 28 3月, 2020 4 次提交
-
-
由 Eugene Kenny 提交于
Add rubocop group to Gemfile for use in CI
-
由 Eugene Kenny 提交于
Since c1e7268c we install the latest version of RuboCop in our GitHub Actions workflow for speed, but this sacrifices reproducibility; the results will change whenever RuboCop publishes a new version. Instead we can add a new group to our Gemfile that just contains the dependencies necessary to run RuboCop, and skip installing everything else in CI. Unfortunately it's not possible to tell Bundler to only install gems from a single group, so we have to tell it not to install every other group instead.
-
由 Rafael França 提交于
Simplify GitHub Action RuboCop by using globally installed gems
-
由 Olle Jonsson 提交于
-
- 27 3月, 2020 5 次提交
-
-
由 Ryuta Kamizono 提交于
[ci skip] Fix API documentation for link_to_if
-
由 Josua Schmid 提交于
-
由 Eugene Kenny 提交于
Handle paths with trailing slashes in rails test
-
由 Eugene Kenny 提交于
The `rails test` command scans its arguments for test paths to load before handing off option parsing to Minitest. To avoid incorrectly interpreting a `-n /regex/` pattern as an absolute path to a directory, it skips arguments that end with a slash. However a relative path ending in a slash is not ambiguous, so we can safely treat those as test paths. This is especially useful in bash, where tab completing a directory leaves a trailing slash in place.
-
由 eileencodes 提交于
This reverts commit f265e0dd, reversing changes made to 08dfa921. Reverted due to surprising behavior for applications. We need to deprecate this behavior first instead of raising by default.
-