# Convert to rails

**URL:** <https://www.ruby-forum.com/t/convert-to-rails/164537>\
**Category:** Rails\
**Created:** [April 2, 2009, 11:54am UTC](https://www.ruby-forum.com/t/convert-to-rails/164537 "2009-04-02T11:54:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@johny](https://www.ruby-forum.com/u/johny)\
**Post date:** [April 2, 2009, 11:54am UTC](https://www.ruby-forum.com/t/convert-to-rails/164537/1 "2009-04-02T11:54:44Z")

</div>

how to convert this on rails

---

<div class="post-metadata">

**Author:** ![johny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@johny](https://www.ruby-forum.com/u/johny)\
**Post date:** [April 2, 2009, 12:05pm UTC](https://www.ruby-forum.com/t/convert-to-rails/164537/2 "2009-04-02T12:05:39Z")

</div>

On Apr 2, 10:54 am, Johny ben [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> how to convert this on rails

There’s nothing to convert - that’s just pure html.

Fred

---

<div class="post-metadata">

**Author:** ![johny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@johny](https://www.ruby-forum.com/u/johny)\
**Post date:** [April 2, 2009, 12:36pm UTC](https://www.ruby-forum.com/t/convert-to-rails/164537/3 "2009-04-02T12:36:32Z")

</div>

Frederick C. wrote:

> On Apr 2, 10:54ï¿½am, Johny ben [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> wrote:
> 
> > how to convert this on rails
> 
> There’s nothing to convert - that’s just pure html.
> 
> Fred

what I understand to add a external javascript link on rails  
are to add like this  
\<%= javascript\_include\_tag :javascriptfilename %\>  
although this link work on rails.

I want to know if this html link have equivalent on rails.

---

<div class="post-metadata">

**Author:** ![johny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@johny](https://www.ruby-forum.com/u/johny)\
**Post date:** [April 2, 2009, 12:57pm UTC](https://www.ruby-forum.com/t/convert-to-rails/164537/4 "2009-04-02T12:57:15Z")

</div>

On 2 Apr 2009, at 11:36, Johny ben wrote:

> \<%= javascript\_include\_tag :javascriptfilename %\>  
> although this link work on rails.

You can still wrap an asset helper in the conditional comment:

-Matt
