- 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 4 次提交
-
-
由 Ryuta Kamizono 提交于
Allow default to be configured for Enum
-
由 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 7 次提交
-
-
由 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]
-
由 Jonathan Hefner 提交于
Follow-up to #39620. This commit changes a few overlooked code fences to `bash`, and changes a few IRB session snippets to be only Ruby code with a `ruby` fence.
-
由 Jonathan Hefner 提交于
Include warning about S3 timeout behavior [ci skip]
-
由 Stephen Chen 提交于
-
- 08 7月, 2020 5 次提交
-
-
由 Eugene Kenny 提交于
Replace javascript highlighting in guides with Rouge [ci skip]
-
由 Eugene Kenny 提交于
-
由 Petrik 提交于
Replace javascript highlighting using Prism with the Rouge markdown highlighter. Uses the github theme.
-
由 Eugene Kenny 提交于
Docs: config.hosts: details re: regexp anchors
-
由 Jared Beck 提交于
-
- 07 7月, 2020 5 次提交
-
-
由 Michael Hagar 提交于
-
由 Michael Hagar 提交于
-
由 Michael Hagar 提交于
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
Type cast extra select for eager loading
-