# Inserting ROR into file within the public folder

**URL:** <https://www.ruby-forum.com/t/inserting-ror-into-file-within-the-public-folder/119557>\
**Category:** Rails\
**Created:** [November 7, 2007, 10:58pm UTC](https://www.ruby-forum.com/t/inserting-ror-into-file-within-the-public-folder/119557 "2007-11-07T22:58:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthony](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@anthony](https://www.ruby-forum.com/u/anthony)\
**Post date:** [November 7, 2007, 10:58pm UTC](https://www.ruby-forum.com/t/inserting-ror-into-file-within-the-public-folder/119557/1 "2007-11-07T22:58:46Z")

</div>

Hello,

I have a website that I would like to insert a ROR based calendar  
into. The web page is built, I just need something like this to work:

\<%= insert\_calendar\_code %\>

I have tried a page with .html and .rhtml inside the public folder,  
but when I go to render the page, my test code:

\<%= puts “hello” %\> does not show up.

Thank you for your help.

-Anthony

---

<div class="post-metadata">

**Author:** ![anthony](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@anthony](https://www.ruby-forum.com/u/anthony)\
**Post date:** [November 8, 2007, 12:54am UTC](https://www.ruby-forum.com/t/inserting-ror-into-file-within-the-public-folder/119557/2 "2007-11-08T00:54:41Z")

</div>

That will never work and the reasons are too numerous to list. You will  
need to use an iframe of some ajax magic to pull the calendar from a  
running rails app.

-Bill

Anthony wrote:

> \<%= puts “hello” %\> does not show up.
> 
> Thank you for your help.
> 
> -Anthony
> 
> >

–  
Sincerely,

William P.
