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
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.
I also try to use pages.controller where i define for exemple currentop
which is a views in the repertory view/pages/currentop but it seems to
be difficult to define methodes for this view because in routes.rb it’s
not define as a resources but like this get “pages/operation_en_cours”
Is someone have already did things like this ?
Thanks for your help.