3. Controller problem


#1

1.
Now that we have a model, let's move on to the second and third parts of the request/response cycle and create a controller and a route.

Generate a controller named Messages.

I tried "rails generate Messages"

Wont work


#2

Hi @methodsolver24309,

The syntax is like this:

$ rails generate controller NAME

http://guides.rubyonrails.org/command_line.html#rails-generate


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.