rails g creates haml file, need erb files to be generated -


i have comfortable-mexican-sofa gem installed app. has haml-rails dependency. when run rails g scaffold scaffoldname files .haml extension in view. don't want .haml need .erb files generated. how do that?

you can set default template engine erb.

see documentation here changes can make in config/application.rb.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -