Why is the view of Rails application in the format *.erb.html? What does "erb" mean?
*.erb.html
erb stands for "Embedded RuBy". A .html.erb or .erb.html file is HTML with Ruby code embedded in; Rails will evaluate the Ruby to add content to the file dynamically, and will output a "pure" HTML file for rendering.
.html.erb
.erb.html
1.4m articles
1.4m replys
5 comments
57.0k users