# .html.erb

**URL:** <https://www.ruby-forum.com/t/html-erb/105811>\
**Category:** Rails\
**Created:** [June 3, 2007, 6:13am UTC](https://www.ruby-forum.com/t/html-erb/105811 "2007-06-03T06:13:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gino](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@gino](https://www.ruby-forum.com/u/gino)\
**Post date:** [June 3, 2007, 6:13am UTC](https://www.ruby-forum.com/t/html-erb/105811/1 "2007-06-03T06:13:38Z")

</div>

Today I did some updates, rails, and gems update, the problem is that  
now, insted of .rhtml files I get html.erb, it looks that they work the  
same, but, I’m using radrails, and It’s not doing the color syntax  
is there anyway to fix this?

---

<div class="post-metadata">

**Author:** ![gino](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@gino](https://www.ruby-forum.com/u/gino)\
**Post date:** [June 3, 2007, 8:55am UTC](https://www.ruby-forum.com/t/html-erb/105811/2 "2007-06-03T08:55:55Z")

</div>

change them back or you can change the mime type in radrails to assert  
the correct coloring

---

<div class="post-metadata">

**Author:** ![gino](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@gino](https://www.ruby-forum.com/u/gino)\
**Post date:** [June 3, 2007, 8:56am UTC](https://www.ruby-forum.com/t/html-erb/105811/3 "2007-06-03T08:56:12Z")

</div>

what version of rails are you useing?

---

<div class="post-metadata">

**Author:** ![gino](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@gino](https://www.ruby-forum.com/u/gino)\
**Post date:** [June 3, 2007, 10:50am UTC](https://www.ruby-forum.com/t/html-erb/105811/4 "2007-06-03T10:50:24Z")

</div>

gino wrote:

> Today I did some updates, rails, and gems update, the problem is that  
> now, insted of .rhtml files I get html.erb, it looks that they work the  
> same, but, I’m using radrails, and It’s not doing the color syntax  
> is there anyway to fix this?

\*This goes into your radrails, go into options and add the extension  
.erb as rubyonrails sourcecode 🙂
