Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring does not notice the change in scaffold templates #518

YannHulot opened this issue Mar 19, 2017 · 0 comments


None yet
1 participant
Copy link

commented Mar 19, 2017

Hi there, first time issue reporter here. If this is not allowed by the guidelines, feel free to close that issue.

Currently getting up to speed on Rails by following different tutorials, I was trying to override the template used by the index view during the scaffolding process.

After creating the new template I decided to test it by running a dummy command such as:

rails g scaffold Animal name:string bio:text

After running the command, I checked out the output and to my surprise, it created the view with the old template.

After doing some digging, I ran spring stop followed by bundle exec spring binstub --all and hoped for the best.

Then I ran almost the same command as earlier and saw the changes in the view as I would have expected them the first time.

As I said , this may not qualify as a bug per se but I thought I would report it just in case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.