| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
vast/mention-changes-to-nil-serialization-in-upgrading-from-3.2
Mention changes to `nil` handling in serialized attributes
|
| |
| |
| |
| |
| | |
Mention that the change in nil handling for serialized attributes
affects custom coders.
|
| |
| |
| |
| | |
in "Upgrading from Rails 3.2 to Rails 4.0"
|
|/ |
|
|
|
|
| |
Also updated the test case to reflect that
|
|
|
|
| |
ActiveSupport::TimeWithZone#as_json
|
|
|
|
|
|
| |
The previous code example for the new explicit block requirement when
setting callbacks was a little confusing. This commit makes the example
more obvious.
|
|
|
|
|
|
| |
It is now expected in 4.1 to use an explicit block rather than implicit
when setting callbacks through ActiveSupport::Callbacks. This commit
highlights this new expectation as part of the upgrading documentation.
|
| |
|
|\
| |
| | |
Add rails:update to the upgrading guides
|
| |
| |
| |
| | |
[ci skip]
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Point to future 4-2-stable branch for detailed changes. [ci skip]
Sync Active Support changelogs with release notes [ci skip]
4.2 Release Notes is a work in progress [ci skip]
Assorted fixes for AS release notes [ci skip]
* `Hash#deep_transform_keys` has already been backported
* Mentioning `ActiveSupport::SafeBuffer#prepend` in the "Deprecations" section would be enough
* Fix syntax in `Kernel#concern` example
Sync AS release notes with the latest commits [ci skip]
Synced 4.2 release notes with commits in railties [ci skip]
Sync AP Deprecations and Notable changes from CHANGELOG [ci skip]
Removed 4.2 release notes from the index [ci skip]
This deprecation was reverted in 489a8f2 [ci skip]
Synced Active Record changelogs for 4.2 release notes [ci skip]
Synced Active Model changelog with the release notes [ci skip]
Added cc26b6b as a 'Removal' item in AP release notes [ci skip]
Use 'character' instead of 'symbol' to avoid confusion [ci skip]
Edit pass on 4.2 release notes [ci skip]
:memo: :lipstick: Use `.xyz` and `#xyz` appropiately [ci skip]
|
|
|
|
| |
And reword things a little to mention the specific patch release less.
|
| |
|
|
|
|
| |
[ci skip]
|
|
|
|
| |
Closes #15141.
|
| |
|
| |
|
|\
| |
| | |
Expand explanation of how to set secrets.yml.
|
| | |
|
|/ |
|
|
|
|
| |
The option actually needs to be set on action_dispatch. [ci skip]
|
|
|
| |
Using `Rails.application.config.cookies_serializer :hybrid` throws an exception, fixed to `=`.
|
|
|
|
| |
Closes #14409
|
|
|
|
| |
This is a follow up to a668beffd64106a1e1fedb71cc25eaaa11baf0c1
|
| |
|
| |
|
| |
|
|\
| |
| | |
Document `default_scope` changes
|
| |
| |
| |
| | |
[ci skip]
|
| | |
|
| |
| |
| |
| |
| |
| | |
and upgrating guides
[ci skip]
|
| | |
|
|/ |
|
|
|
|
| |
Also added a `cookies_serializer.rb` initializer to the app template.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Based on https://github.com/rails/rails/issues/2502, the option has
been removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move check from generated helper to test_help.rb, so that all
applications can benefit
* Rather than just raising when the test schema has pending migrations,
try to load in the schema and only raise if there are pending
migrations afterwards
* Opt out of the check by setting
config.active_record.maintain_test_schema = false
* Deprecate db:test:* tasks. The test helper is now fully responsible
for maintaining the test schema, so we don't need rake tasks for this.
This is also a speed improvement since we're no longer reloading the
test database on every call to "rake test".
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Create a blacklist to disallow mutator methods to be delegated to Array
Conflicts:
guides/source/upgrading_ruby_on_rails.md
|
| |
| |
| |
| |
| |
| |
| |
| | |
This change was necessary because the whitelist wouldn't work.
It would be painful for users trying to update their applications.
This blacklist intent to prevent odd bugs and confusion in code that call mutator
methods directely on the `Relation`.
|
|\ \
| | |
| | | |
Release notes fixes [ci skip]
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Added release notes for secrets.yml and mentioned it in the highlights
* Added release notes for Mailer previews and mentioned it in the highlights
* Added release notes for Module#concerning
* Removed mention for AV extraction from the highlights
* Rearranged the major features to put highlighted features first
* Various improvements and typo fixes
[ci skip]
|
|/
|
|
| |
handling
|
|
|
|
|
|
|
|
|
|
| |
* Rewording to avoid "you"s.
* Suggest as first natural alternative to refactor the block
to evaluate to the returned value.
* Removes the quotes around "filters", since that is a common
work in our jargon.
|