Problem creating a new view

I’ve created a new action in the recipes_controller class called
some_action and a corresponding view for it in the /views/recipes/
folder.
However, when I go to the localhost:3000/recipes/some_action url i get
“NoMethodError in Recipes#show” and under the parameters it says
{“id”=>“some_action”}. So for some reason ruby treats some_action as a
variable for the show method? How do I get it to treat some_action as a
valid action?
I’m sure there is something very obvious I’m missing here.

any ideas?

I would take a look at your routes to see what is going on. To me it
looks like Rails is interpreting your request as a RESTful URI and you
might want a named route.

On Jun 25, 7:51 am, Pavel P. [email protected]