Commit a46e47a
authored
Rails: Default to "sandbox" mode when accessing production-like environments (#747)
In an effort to avoid mutating production data, we recommend using "sandbox"
mode when using `rails console`.
If you need to [manipulate data][data migrate], consider running a custom Rake
task, or use [maintenance_tasks][].
[data migrate]: https://guides.rubyonrails.org/active_record_migrations.html#data-migrations
[maintenance_tasks]: https://github.com/Shopify/maintenance_tasks1 parent 16479f2 commit a46e47a
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| |||
0 commit comments