Ответ 1
Здесь вы идете:
resources :cities, :only => [:new, :create]
Ссылка здесь.
На моих маршрутах .rb у меня есть:
resources :countries do
resources :cities
end
Но я хочу только:
new: GET /countries/:id/cities/new
create: POST /countries/:id/cities
И не 7 действий.
Что я могу сделать?
Здесь вы идете:
resources :cities, :only => [:new, :create]
Ссылка здесь.
попробуйте
resources :cities, :only => [:new,:create]