I'm trying to follow this tutorial about adding a username field to Devise: http://asciicasts.com/episodes/210-customizing-devise
However, when I edit the view files new.html.erb
I don't see any changes take place when I r开发者_运维问答efresh the signup/login page...
What would be causing this?
Did you do:
rails g devise:views
or
rails g devise:views MyModel
When using only only model, you need to use the former version to generate the correct views. Or rename your app/views/my_models to app/views/devise
精彩评论