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

  • Home
  • SEARCH
  • 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 8373553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:42:15+00:00 2026-06-09T14:42:15+00:00

I have just created a controller using the command: rails generate controller LegacyPlanCalculator index

  • 0

I have just created a controller using the command:

rails generate controller LegacyPlanCalculator index process

and then I added this to my routes.rb file:

match "legacy_plan_calculator" => "legacy_plan_calculator#index" 

match "/legacy_plan_calculator/process" => "legacy_plan_calculator#process"

I can see the controller and its views in the project. The actions in the controller are empty obviously:

class LegacyPlanCalculatorController < ApplicationController
  def index
  end

  def process
  end

end

But when I try to goto: http://localhost:3000/legacy_plan_calculator I get this error:

wrong number of arguments (1 for 0)

Rails.root: C:/Users/saadr/Dropbox/workspace/gps4money

I want to be able to land on the index view of the legacy plan calculator when the user puts in localhost:3000/legacy_plan_calculator

UPDATE: Here are the first few lines from ‘Full Trace’ on the error page:

actionpack (3.1.0) lib/action_controller/metal.rb:193:in `process'
actionpack (3.1.0) lib/action_controller/metal.rb:193:in `dispatch'
actionpack (3.1.0) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.1.0) lib/action_controller/metal.rb:236:in `action'
actionpack (3.1.0) lib/action_dispatch/routing/route_set.rb:65:in `call'
actionpack (3.1.0) lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
actionpack (3.1.0) lib/action_dispatch/routing/route_set.rb:29:in `call'

And I don’t know where these files are located so can’t post relevant code from these files.

  • 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-06-09T14:42:16+00:00Added an answer on June 9, 2026 at 2:42 pm

    process is a reserved word, just change it to any other and it will work.

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

Sidebar

Related Questions

I have just created this table: create table dbo.OrderTypes ( ID smallint primary key
I have just created a report in Report Manager using a Stored Procedure which
I have just created a new project in VS2010 using the Visual c# >
I have just created my first Rightscale ServerTemplate and Deployment using a bunch of
I am using spring 3 mvc/security frameworks. I have created a Controller class that
I have a created a list view for one of my controller's index action.
Just started using carrierwave with Rails and things have been going smoothly with one
Using rails and rspec it's easy to have rspec generate the necessary files for
Have been trying to get a fresh, just created rails application to work on
I have just created a new project with a many-to-many relation (User-Group) and the

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.