Answer the question
In order to leave comments, you need to log in
How to create a REST controller without a scaffold in Ruby on Rails?
How to create a REST controller in the console (rails generate) without using scaffold (there are just models)?
Answer the question
In order to leave comments, you need to log in
rails g controller CONTROLLER_NAME
or
rails g scaffold_controller CONTROLLER_NAME
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question