aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/sanitization.rb
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2016-01-07 17:40:38 -0600
committerschneems <richard.schneeman@gmail.com>2016-01-08 09:25:50 -0600
commita76c4233a9ee9ffbf413c4b8353e73e8ffbeb3a5 (patch)
tree9354c485cc20e06cf9a5874eedfec6f7b53a2150 /activerecord/lib/active_record/sanitization.rb
parent350ae6cdc1ea83e21c23abd10e7e99c9a0bbdbd2 (diff)
downloadrails-a76c4233a9ee9ffbf413c4b8353e73e8ffbeb3a5.tar.gz
rails-a76c4233a9ee9ffbf413c4b8353e73e8ffbeb3a5.tar.bz2
rails-a76c4233a9ee9ffbf413c4b8353e73e8ffbeb3a5.zip
Add EnvironmentMismatchError
Raise an error when a destructive action is made on a database where the current environment is different from the environment stored in the database.
Diffstat (limited to 'activerecord/lib/active_record/sanitization.rb')
0 files changed, 0 insertions, 0 deletions