Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rails/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ Guidance on ActiveRecord, ActiveModel, and other model objects.
- Use `db/seeds.rb` for data that is required in all environments.
- Use `dev:prime` rake task for development environment seed data.

## Security

- Set [config.sandbox_by_default][sandbox] to `true` in production-like environments to avoid accidental writing to the production database.

[sandbox]: https://guides.rubyonrails.org/configuring.html#config-sandbox-by-default

## Migrations

[Sample](migration.rb)
Expand Down