List Info

Thread: Simple stuff - using frames w/ RoR




Simple stuff - using frames w/ RoR
country flaguser name
United States
2007-05-10 14:56:50
This is a very simple question as I am a student trying my
hand at a
simple rails app. How do you use html frames inside the RoR
scaffold.
I can set the frame structure with no problem - but I am not
sure how
to point each frame to a .rhtml file.

I tried this code just playing around

<frameset rows="10%,50%">
        <frame src="menu.rhtml">
        <frameset cols="50%,50%">
                <frame src="frame_b.htm">
                <frame src="frame_c.htm">
        </frameset>
</frameset>

but I get the following error in each frame
Routing Error

no route found to match "/menu.rhtml" with
{:method=>:get}

I'm not sure how to set the routing obviously ( and what
code I need
to include in the controller file).

Thanks to anyone who can help me


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails" group.
To post to this group, send email to rubyonrailsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/rubyonrails
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )