spring
spring copied to clipboard
Spring does not notice the change in scaffold templates
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.