Created
February 12, 2014 15:41
-
-
Save ehelms/8957868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
organization = Organization.find(taxonomies(:organization1)) | |
organization.label = organization.name | |
organization.save! | |
leads to ---> | |
ActiveRecord::RecordInvalid: Validation failed: Domains You cannot remove domains that are used by hosts., Compute resources You cannot remove compute resources that are used by hosts., Smart proxies You cannot remove smart proxies that are used by hosts., Users You cannot remove users that are used by hosts., Config templates You cannot remove config templates that are used by hosts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment