On 20 May 2014 11:07, Fab Forestier <[email protected]> wrote:
> Colin Law wrote in post #1146600:
>>
>> I don't think anyone knows what it is that you do not know how to do.
>> I think it is something to do with routing but am not sure.  Please
>> describe just the bit you have a problem with, not the whole
>> requirement.
>>
>> Colin
>
> I will have difficults to discribe a problem, because it's not something
> in my code that doesn't work but just that I can't find a process
> (tutorial) for rails4 explaining how to create view without model.

But as you said yourself the tutorial does "create a view without a
model".  It is easy.  All you have to do is make a controller file
controllers/somename_controller.rb, put the desired actions in it,
create view files such as views/somename/theaction.html.erb and put
the routes in routes.rb.  I don't know which bit you are having a
problem with.

>
> I pricise Rail 4 because the railstutorial.org's app is in rails 3.

I believe railstutorial uses rails 4.

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%3D0gLt7-9oXbmB7AEi%3DaA-zLWBHLbzb%2BoFLz6T%2Bb--%3Dsc6zGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to