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
2.1m questions
2.1m answers
60 comments
57.0k users