On 16 May 2014 09:48, Fab Fab <[email protected]> wrote: > Hi everybody, and first please forgive me for my bad english. > > I'm working for few weeks on a RoR project for my professional training, > I have to develop a new app, I have use scaffold to create all the > models, controller and view for each table of my database but now I want > to create a new view which doesn't correspond to any model in my > database because I must be able to write some informations and then fill > my tables. > > I try to use rails g controller and then to create manually a view but > after this if i use resources:currentoperations in routes.rb that will > create the routes for new, index _form views but i don't want them.
Have a look at the Rails Guide on Routing, that will show you how to create just the routes you want. Also have a look at all the other guides as well. In addition it would be a good idea to work right through a good tutorial such as railstutorial.org, which is free to use online. That will show you the basics of Rails. Do that first and you will know the answers to your questions. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvWtOa1kY08CV22AJ%2BZirGKiab5LGTmSGFj2HTMcmpFmw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

