On 21/04/2012, Paul Na <[email protected]> wrote: > Colin Law wrote in post #1057707: >> On 21 April 2012 12:52, Paul Na <[email protected]> wrote: >>> <-------- new one >>> preview just retrieves the session values and links to edit, continue >>> then the last one gives a page to submit the session values to the db >>> with tests#create. >>> >>> Does this sound ok? >> >> Sounds good to me > > cool :) > >> >>> Also the above routes are not in the routes.rb so >>> where are these stored? >> >> I think they probably /are/ in routes.rb, you just don't realise it. >> Have a look at the Rails Guide on Routing. >> >> Colin > > All i have in my routes.rb are: > > Tests::Application.routes.draw do > > resources :tests
Precisely. Look at the Rails Guide to see what that means. Colin > > > root :to => 'tests#index' > > end > > and that is it. I have had a brief look at it. > > Thanks for you help > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- gplus.to/clanlaw -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

