New help Help Rss
The Help area is for asking questions or helping others with Ruby problems. It is also a good place to gain lots of experience
How is design done on larger rails sites? (replies: 2)
in design, rails by jtoy on Thu Apr 13 09:40:37 -0500 2006
last post by mxg on Sun Feb 10 16:56:09 -0500 2008

Hi, I am working on a the largest rails project I have worked on before. It’s large in terms of how many different directions the application can flow, so there will be many different views. How are people using rails to do the workflow on larger projects?
It is getting too tedious in the controller to have code like:
if @result ==1
render :action => ‘page1’
elsif @result ==2
render :action => ‘otherpage’
else
render :action => ‘returnpage’
How are rails developers managing these kinds of flows?
I would appreciate any suggestions.


show
what level of interaction does rails have when page caching is used? (replies: 3)
in caching, rails by paulc on Tue Apr 11 23:09:15 -0500 2006
last post by paulc on Mon Apr 17 23:37:30 -0500 2006

From reading about how rails works, it seems when you use page caching in a production environment, the rails stack is bypassed because apache/lighty will see the html file and serve that instead of dynamically generating the page. Is rails really totally bypassed? If so, how can the log files still record what pages where hit in the log directory if rails is totally bypassed?


show
Test (replies: 0)
in tag2, tag1, tag3333 by doug on Sat Apr 08 17:52:52 -0500 2006
last post by doug on Sat Apr 08 17:52:52 -0500 2006

This is a test!


show