Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6171489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:13:26+00:00 2026-05-23T23:13:26+00:00

My route contains the following: namespace :admin do resources :retailers resources :drop_ship_orders do collection

  • 0

My route contains the following:

namespace :admin do
    resources :retailers
    resources :drop_ship_orders do
      collection  do
        post :edit_individual
        put  :update_individual
      end
      member do
        put :fire
        get :fire
        post :resend
      end
   end
end

My view contains:

<%= form_tag edit_individual_drop_ship_orders_path do %>
<table class="index" id='listing_orders'>
  <thead>
    <tr data-hook="admin_orders_index_headers">
      <th><%= check_box_tag('test') %></th>
      <% if @show_only_completed %>
        <th><%= sort_link @search, :completed_at, t("activerecord.attributes.order.completed_at") %></th>
      <% else %>
        <th><%= sort_link @search, :created_at,   t("order_date") %></th>
      <% end %>
      <th><%= sort_link @search, :number,         t("order_number") %></th>
      <th><%= sort_link @search, :state,          t("status") %></th>
      <th><%= sort_link @search, :shipment_state, t("shipment_state") %></th>
      <th><%= sort_link @search, :email,          t("customer") %></th>
      <th><%= sort_link @search, :total,          t("total") %></th>
      <th data-hook="admin_orders_index_header_actions"></th>
    </tr>
  </thead>
  <tbody>
  <% @orders.each do |order| %>
    <tr data-hook="admin_orders_index_rows">
      <td><%= check_box_tag "drop_ship_order_ids[]", order.id %></td>   
      <td><%= l (@show_only_completed ? order.order.completed_at : order.order.created_at).to_date %></td>
      <td><strong><%= order.order.number %></strong></td>
      <td><%= t("order_state.#{order.state.downcase}") %></td>
      <td><%#= link_to t("shipment_states.#{order.order.shipment_state}"), admin_order_shipments_path(order) if order.shipment_state %></td>
      <td><%= order.order.email %><br><%= order.order.ship_address.firstname%> <%= order.order.ship_address.lastname %><br><%= order.order.ship_address.phone %></td>
      <td><%= number_to_currency order.total %></td>
      <td class='actions' data-hook="admin_orders_index_row_actions">
        <%= button_link_to t(:process_order), edit_admin_drop_ship_order_url(order) unless order.completed?%>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>
<%= will_paginate(@orders, :previous_label => "&#171; #{t('previous')}", :next_label => "#{t('next')} &#187;") %>
<%= submit_tag (t('multi_process')) %>
<% end %>

Rails doesn’t recognize the edit_individual_drop_ship_orders_path

In my controller I added the edit_individual action.

My error: undefined local variable or method `edit_individual_drop_ship_orders_path’ for #<#:0x000001067314a8>

Can someone please help me out?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:13:27+00:00Added an answer on May 23, 2026 at 11:13 pm

    Two things to do when you have problems with routes: 1. restart the server 2. check rake routes

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have defined a route culture/Controller/action/id... my controller contains following action.. [OutputCache(Duration=60*10)] public ActionResult
I have the following route defined routes.MapRoute( ItemName, {controller}/{action}/{projectName}/{name}, new { controller = Home,
I currently have a list that contains the following CountryCode (string) CountryStr (string) RegionStr
In ~/tools/ I have a webconfig file that contains the following: <system.web> <authorization> <allow
I have the following route configurations: routes.IgnoreRoute({resource}.axd/{*pathInfo}); routes.IgnoreRoute(elmah.axd); routes.IgnoreRoute(favicon.ico); routes.MapRoutes(); // Register Attribute Based
A Rails 3 application I'm working on contains some logic that invokes the following
I created the following route: routes.MapRoute( Notes 1, // Route name {book}-{id}, // URL
The default ASP.NET MVC 3 project template contains the following IgnoreRoute directive: routes.IgnoreRoute({resource}.axd/{*pathInfo}); I
I have following problem: my Query with joins contains all the nesessary data but
The following route will match any folder structure below BasePath: http://BasePath/{*SomeFolders}/ How do I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.