rails/guides/source
Jorge Manrubia f78a480818 Encourage deterministic encryption to remain unchanged
This implements several changes to encourage deterministic encryption to
remain unchanged. The main motivation is letting you define unique
indexes on deterministically-encrypted columns:

- By default, deterministic encryption will always use the oldest
encryption scheme to encrypt new data, when there are many.
- You can skip this default behavior and make it always use the current
encryption scheme with:

```ruby
deterministic: { fixed: false } # using this should be a rare need
```

- Deterministic encryption still supports previous encryption schemes
normally. So they will be used to add additional values to queries, for
example.
- You can't rotate deterministic encryption keys anymore. We can add
support for that in the future.

This makes for reasonable defaults:

- People using "deterministic: true" will get unique indexes working out
of the box.
- The system will encourage keeping deterministic encryption stable:
  - By always using oldest encryption schemes
  - By forbidding configuring multiple keys

But you can still opt-out of the default if you need to.
2021-04-01 15:02:15 +02:00
..
kindle Use image/jpeg instead of non-standard image/jpg 2021-03-05 13:14:11 -05:00
_license.html.erb
_welcome.html.erb Rails 6.2 is now Rails 7.0 2021-02-04 16:47:16 +00:00
2_2_release_notes.md
2_3_release_notes.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
3_0_release_notes.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
3_1_release_notes.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
3_2_release_notes.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
4_0_release_notes.md Rename master to main in all code references 2021-01-19 20:46:33 +00:00
4_1_release_notes.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
4_2_release_notes.md Fix list item indentation [ci-skip] 2020-12-25 13:29:13 -06:00
5_0_release_notes.md Split code snippets by context [ci-skip] 2020-12-25 10:53:12 -06:00
5_1_release_notes.md Fix syntax highlighting [ci-skip] 2020-12-25 21:03:11 -06:00
5_2_release_notes.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
6_0_release_notes.md
6_1_release_notes.md Fix typo in 6.1 release notes 2021-03-22 21:15:17 +00:00
7_0_release_notes.md Fix link to Upgrading guide from 7.0 Release Notes guide [ci skip] 2021-02-25 18:25:30 -03:00
action_cable_overview.md action_cable_overview.md: Mention PG, not just Redis [ci skip] 2021-02-27 20:23:53 -05:00
action_controller_overview.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
action_mailbox_basics.md Add: link to documentation 2021-03-31 10:33:03 +11:00
action_mailer_basics.md Merge pull request #41736 from lairtonmendes/6-1-stable 2021-03-23 11:01:10 +09:00
action_text_overview.md Merge pull request #40995 from garrettdimon/patch-1 2021-02-08 12:03:28 +05:30
action_view_helpers.md Fix number_to_human_size's result [ci skip] 2021-03-09 08:45:35 +09:00
action_view_overview.md Wording in guides: Prefer environment over mode 2020-10-05 16:30:48 -07:00
active_job_basics.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
active_model_basics.md Use irb code fences where applicable [ci-skip] 2020-11-01 16:29:18 -06:00
active_record_basics.md use proper styling name (snake_form) for table naming convention 2021-02-20 17:15:02 -05:00
active_record_callbacks.md Link to API docs in AR Callbacks guide [ci-skip] 2020-11-06 21:26:25 -06:00
active_record_encryption.md Encourage deterministic encryption to remain unchanged 2021-04-01 15:02:15 +02:00
active_record_migrations.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
active_record_multiple_databases.md [ci skip] Fix Grammatical Errors and Eliminate Ambiguous Wordings in Multiple Database Documents (#41670) 2021-03-24 23:36:20 -04:00
active_record_postgresql.md Rails 7 requires Ruby 2.7 and prefer Ruby 3+ 2021-02-04 16:34:53 +00:00
active_record_querying.md Fix SQL result of Book.joins(reviews: :customer) query example 2021-03-24 09:09:11 +13:00
active_record_validations.md Add validate numericality in range 2021-01-05 22:56:58 +01:00
active_storage_overview.md Add section on how to purge unattached uploads. 2021-02-26 15:34:13 -05:00
active_support_core_extensions.md Remove some references to OrderedHash 2021-03-22 21:14:32 +09:00
active_support_instrumentation.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
api_app.md Use irb code fences where applicable [ci-skip] 2020-11-01 16:29:18 -06:00
api_documentation_guidelines.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
asset_pipeline.md Remove legacy media=screen default from stylesheet_link_tag. 2021-01-22 20:42:22 -03:00
association_basics.md Follow up to #41765 [ci skip] 2021-03-28 10:55:35 +09:00
autoloading_and_reloading_constants_classic_mode.md Fix grammar 2021-01-05 12:36:47 -06:00
autoloading_and_reloading_constants.md Drops support for classic mode 2021-03-08 05:30:11 +01:00
caching_with_rails.md Merge pull request #40919 from ghiculescu/patch-2 2020-12-29 18:14:20 -05:00
command_line.md Rails 7 requires Ruby 2.7 and prefer Ruby 3+ 2021-02-04 16:34:53 +00:00
configuring.md Document config.require_master_key [docs] [ci-skip] 2021-03-29 10:57:29 -05:00
contributing_to_ruby_on_rails.md Update test docs in "contributing to Rails" guide 2021-01-22 15:54:46 -07:00
debugging_rails_applications.md Use 4XX instead of 2XX for validation errors responses 2021-01-06 00:10:26 -03:00
development_dependencies_install.md
documents.yaml Encryption guide (WIP) 2021-04-01 15:02:13 +02:00
engines.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
form_helpers.md Clarify when enctype="multipart/form-data" gets added to forms [docs] 2021-03-10 13:09:46 -06:00
generators.md Fix doc: stylesheet_include_tag -> stylesheet_link_tag 2021-01-23 13:07:58 -03:00
getting_started.md Fix controller name in Getting Started 2021-03-01 22:30:57 -03:00
i18n.md Remove reference to globalize gem 2021-01-24 20:10:09 +01:00
index.html.erb
initialization.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
layout.html.erb Rename master to main in all code references 2021-01-19 20:46:33 +00:00
layouts_and_rendering.md Remove legacy media=screen default from stylesheet_link_tag. 2021-01-22 20:42:22 -03:00
maintenance_policy.md Clarify maintenance policy for bug fixes to security patches 2021-03-12 21:26:44 +00:00
plugins.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
rails_application_templates.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
rails_on_rack.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
routing.md Add table for shallow routing to routing doc 2021-03-22 22:25:54 +09:00
ruby_on_rails_guides_guidelines.md
security.md Update external links in security guide 2021-03-04 16:44:17 -05:00
testing.md Improve ActionText::FixtureSet documentation (#41062) 2021-01-24 11:16:27 +01:00
threading_and_code_execution.md Fix typos, grammar, and formatting [ci-skip] 2020-12-28 12:05:53 -06:00
upgrading_ruby_on_rails.md Add redirect_back directive to Rails 5.0 -> 5.1 upgrade guide 2021-02-19 08:39:18 +11:00
webpacker.md Adjust application pack in webpacker guide 2021-02-20 16:54:34 +01:00
working_with_javascript_in_rails.md Improve AJAX example [ci skip] 2021-02-11 16:07:18 +01:00