Created
June 25, 2014 18:25
-
-
Save ethagnawl/0486850a491e81ed4bc3 to your computer and use it in GitHub Desktop.
Reproduce Rails Destroy Bug
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
export app_name="reproduce_rails_routing_bug" | |
echo $app_name | |
rails new ${app_name} | |
cd ${app_name} | |
rails g scaffold foo | |
cd config | |
sed -i '/^$/d' routes.rb | |
sed -i '/#/d' routes.rb | |
cd .. | |
rails destroy scaffold foo | |
cat config/routes.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment