- 31 10月, 2019 8 次提交
-
-
由 Kasper Timm Hansen 提交于
Enabled GitHub Actions to run the latest RuboCop 0.76.0
-
由 Yasuo Honda 提交于
Updated the default Ruby workflow: * Trigger this action for pull request and push * Install requried OS packages for Active Record connection adapters * Removing `gem install bundler` because Ruby 2.6 already installs it * Run RuboCop in parallel by `bundle exec rubocop --parallel` * Rename `ruby.yml` to `rubocop.yml` to represent the workflow Bump RuboCop to 0.76.0 and rename `Style/UnneededPercentQ` to `Style/RedundantPercentQ` ```ruby $ bundle exec rubocop Error: The `Style/UnneededPercentQ` cop has been renamed to `Style/RedundantPercentQ`. (obsolete configuration found in .rubocop.yml ``` Removed `.codeclimate.yml`
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
Correctly deprecate where.not working as NOR for relations:
-
由 Rafael França 提交于
Avoid using require_dependency is Zeitwerk is enabled
-
由 Edouard CHIN 提交于
- 12a9664f deprecated where.not working as NOR, however doing a relation query like this `where.not(relation: { })` wouldn't be properly deprecated and where.not would work as NAND instead
-
由 Jean Boussier 提交于
-
- 30 10月, 2019 5 次提交
-
-
由 Takayuki Nakata 提交于
`yaml` was removed at b2c9ce34 `attribute_accessors` was removed at b2c9ce34 `extract_options` was removed at ceb33f84 `deep_merge` was removed at bed9179a `slice` was removed at 24485b9e `behavior` was removed at ceb33f84 `singleton_class` was removed at ceb33f84 `introspection` was removed at ceb33f84
-
由 Rafael França 提交于
Duplicate the cached value before writing it in the local cache
-
由 Richard Schneeman 提交于
Fix typo guides/source/configuring.md
-
由 Nate Dalo 提交于
-
由 Jean Boussier 提交于
-
- 28 10月, 2019 3 次提交
-
-
由 Dino Maric 提交于
-
由 Kasper Timm Hansen 提交于
[ci skip] Fix lower case comments without punctuation
-
由 Sho Ito 提交于
Add String#truncate_bytes and Hash#deep_transform_values/!. Clarify Enumerable#index_with.
-
- 27 10月, 2019 3 次提交
-
-
由 Kasper Timm Hansen 提交于
[ci skip] Small fixes in ActionView documentation.
-
由 y-yagi 提交于
`bin/yarn` exec `"yarn"` rather than `"yarnpkg"`
-
由 George Claghorn 提交于
-
- 26 10月, 2019 2 次提交
-
-
由 John Hawthorn 提交于
Forgot to add a changelog when this was merged in #37266.
-
由 John Hawthorn 提交于
Make content_tag a bit faster
-
- 25 10月, 2019 6 次提交
-
-
由 BakiVernes 提交于
-
由 sinanmujan 提交于
-
由 Brook Jordan 提交于
### Issue [`yarnpkg` has been deprecated](https://yarnpkg.com/en/package/yarnpkg) and not all installs alias to `yarnpkg` like homebrew does, (for example, `yvm`). This can be confusing, especially as web searches don't bring up information on this easily. #### Additional context The only reason I could find for still using `yarnpkg` over `yarn` is that debian used to not have `yarn` as an executable, while most other operating systems would alias `yarnpkg` to `yarn` for you. However, [the supported installation for debian appears to give a `yarn` executable now](https://yarnpkg.com/lang/en/docs/install/#debian-stable).
-
由 Felix Livni 提交于
-
由 Kasper Timm Hansen 提交于
Fixed some grammar errors on guide doc.
-
由 Kasper Timm Hansen 提交于
[ci skip] Small fix to ActiveSupport docs
-
- 24 10月, 2019 4 次提交
-
-
由 Richard Schneeman 提交于
[ci skip] Fix lower case comments without punctuation
-
由 sinanmujan 提交于
-
由 Nursoltan Saipolda 提交于
-
由 sinanmujan 提交于
-
- 23 10月, 2019 5 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
Allow CTEs in read-only query with postgresql
-
由 Matthew Draper 提交于
Tidy up the build output for Active Job adapters
-
由 Matthew Draper 提交于
-
由 chrismo 提交于
Common Table Expressions in PostgreSQL allow a different way to define derived tables. Here's an example from the pg docs: WITH regional_sales AS ( SELECT region, SUM(amount) AS total_sales FROM orders GROUP BY region ), top_regions AS ( SELECT region FROM regional_sales WHERE total_sales > (SELECT SUM(total_sales)/10 FROM regional_sales) ) SELECT region, product, SUM(quantity) AS product_units, SUM(amount) AS product_sales FROM orders WHERE region IN (SELECT region FROM top_regions) GROUP BY region, product; https://www.postgresql.org/docs/current/queries-with.html This commit adds the :with keyword to the set of keywords allowed to begin a query against a `prevent_writes` PostgreSQL connection. Thx to @kamipo, this also adds the same support for sqlite3 and mysql2 https://www.sqlite.org/lang_with.html https://dev.mysql.com/doc/refman/8.0/en/with.html
-
- 22 10月, 2019 2 次提交
-
-
由 Eileen M. Uchitelle 提交于
Update Welcome Aboard text in Guides [ci skip]
-
由 Eileen M. Uchitelle 提交于
Update `rails server` terminal output in Guides [ci skip]
-
- 21 10月, 2019 2 次提交
-
-
由 Ryuta Kamizono 提交于
Refactor `association.scoping` not to rely on `klass.all`
-
由 Ryuta Kamizono 提交于
Related #35280, #37360, #37511. Using `klass.all` in `scoping` would potentially cause the warning. https://buildkite.com/rails/rails/builds/64444#203174d8-b527-4c43-9bd4-44e272f43555/996-1003
-