change individual route name rails code example Example: rails change resource name resources :posts, :path => 'blogs' do # ..... end