And what exactly is a .html.erb file? The erb stands for embedded Ruby if I'm not mistaken.
It's okay to use it for templates only (and the same is true for php if you use a sane framework). If you use erb files to quickly hack together a dynamic web-page I'd be wary though.