- 19 7月, 2020 4 次提交
-
-
由 Eugene Kenny 提交于
Ensure principle tasks go before finish_template
-
由 Vipul A M 提交于
Document how exceptions are handled in instrumentation [ci skip]
-
由 Vipul A M 提交于
fix typo in Active Job exceptions docs [ci skip]
-
由 Henne Vogelsang 提交于
-
- 18 7月, 2020 3 次提交
-
-
由 fig 提交于
-
由 Eileen M. Uchitelle 提交于
Fix typos in active support docs [ci-skip]
-
由 Michael Hagar 提交于
-
- 17 7月, 2020 5 次提交
-
-
由 Ryuta Kamizono 提交于
Revert "Merge pull request #39613 from kamipo/where_with_custom_operator"
-
由 Ryuta Kamizono 提交于
This reverts commit b8064500, reversing changes made to 8714b359. Reason: This is not approved from the core team yet...
-
由 Eugene Kenny 提交于
Merge pull request #39829 from tgxworld/remove_protect_from_forgery_from_application_controller_template Remove `protect_from_forgery` in rails plugin template.
-
由 Eugene Kenny 提交于
Switch regex for delete_suffix in normalize_path
-
由 Vinicius Stock 提交于
-
- 16 7月, 2020 1 次提交
-
-
由 Benoit Tigeot 提交于
References #39367.
-
- 15 7月, 2020 5 次提交
-
-
由 Benoit Tigeot 提交于
-
由 Ryuta Kamizono 提交于
Decorated the `--skip-sprockets` like any other.[ci skip]
-
由 Ryuta Kamizono 提交于
Docs: ActiveRecord::QueryMethods#joins Fixes SQL output [ci skip]
-
由 Chris Oliver 提交于
-
由 eileencodes 提交于
This change ensures we're no longer using a singleton for routes because we want to change the routing table based on the controller we're testing. We don't want the routing table to be global for the Action Pack tests. Co-authored-by: NAaron Patterson <tenderlove@ruby-lang.org>
-
- 14 7月, 2020 4 次提交
-
-
由 Phil Coggins 提交于
-
由 Madogiwa 提交于
-
由 Ryuta Kamizono 提交于
Allow attribute's default to be configured but keeping its own type
-
由 Ryuta Kamizono 提交于
```ruby class Post < ActiveRecord::Base attribute :written_at, default: -> { Time.now.utc } end # Rails 6.0 Post.type_for_attribute(:written_at) # => #<Type::Value ... precision: nil, ...> # Rails 6.1 Post.type_for_attribute(:written_at) # => #<Type::DateTime ... precision: 6, ...> ``` This is an alternative of #39797. Context https://github.com/rails/rails/pull/39797#issuecomment-655191817. If people intend to override the existing type on the attribute, usually an overriding type is explicitly specified, so I agree that the current behavior (drop existing type information if type is omitted) is practically quite useless, and it is almost like a bug in that there is no way to override just the default. So I'd like to change the current behavior on existing attributes without a deprecation as a fix. Closes #39797. See also https://github.com/kufu/activerecord-bitemporal/pull/57.
-
- 13 7月, 2020 5 次提交
-
-
由 Ryuta Kamizono 提交于
Allow default to be configured for Enum
-
由 Guo Xiang Tan 提交于
`protect_from_forgery` is added to `ActionController::Base` by default since ec4a8369
-
由 Eugene Kenny 提交于
Also fix the language identifier for one JavaScript example.
-
由 Eugene Kenny 提交于
-
由 Vipul A M 提交于
Use correct grammar in Rails 5.0 upgrade section [ci-skip]
-
- 11 7月, 2020 1 次提交
-
-
由 Michael Hagar 提交于
-
- 10 7月, 2020 8 次提交
-
-
由 Ryuta Kamizono 提交于
```ruby class Book < ActiveRecord::Base enum status: [:proposed, :written, :published], _default: :published end Book.new.status # => "published" ```
-
由 Ryuta Kamizono 提交于
Fix typo s/delegates/delegate/ [ci skip]
-
由 Hiroshi Kajisha 提交于
-
由 Vipul A M 提交于
fix grammar in active support docs [ci-skip]
-
由 Michael Hagar 提交于
-
由 Rafael França 提交于
Add Active Record Marshal forward compatibility tests
-
由 Rafael França 提交于
Save an allocation in visit CAT
-
由 Vinicius Stock 提交于
-
- 09 7月, 2020 4 次提交
-
-
由 Eugene Kenny 提交于
More consistent usage of version option for commands in guides [skip ci]
-
由 Petrik 提交于
In the getting started guide intro section both `-v` and `--version` are used: $ ruby -v $ sqlite3 --version $ node --version $ yarn -v $ rails --version Both ruby and yarn support `--version` as well, but sqlite3 does not support `-v`. For consistency use `--version` option for `ruby` and `yarn` commands.
-
由 Eugene Kenny 提交于
Save a string allocation in visit_STAR
-
由 Jonathan Hefner 提交于
Use appropriate code fences [ci skip]
-