Anjan Doshi wrote:
I m new with ruby so I have query regarding index.html page. In Ruby if i want dynamic index page in public folder where data is coming dynamically then in index.html page how can i display tht. I cant do tht in html page.
Is there any other way to make index page dynamic.
You simply remove the index.html file from the public folder. Then you map a route to the empty url like:
map.connect '', :controller => 'some_controller', :action => 'index'