Inserting ROR into file within the public folder


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.


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.


Anthony wrote: