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 4337050
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:53:27+00:00 2026-05-21T10:53:27+00:00

(ruby 1.9.2 rails 3.0.6) I am new to ROR, sorry for my simple question.

  • 0

(ruby 1.9.2 rails 3.0.6)

I am new to ROR, sorry for my simple question.

I have a form and a controller, when i launch my app, i can see the log have been displayed.. however there are exception when rendering the view…

Everything should look just fine.. what is the problem? how can I fix it?

Thanks.

undefined method `users_path' for #<#<Class:0x47c7678>:0x47c6118>
Extracted source (around line #2):

1: <h1>Welcome Aboard</h1>
2: <%= form_for(@user) do |f| %>
3:   <table>
4:     <tr>
5:       <td><%= f.label :username %></td>

class RegisterController < ApplicationController

  def sign_up
    logger.debug("sign_up inoked")

    @user = User.new

    logger.debug("sign_up finished")
  end

end

views/register/sign_up.html.erb

<%= form_for(@user) do |f| %>
  <table>
    <tr>
      <td><%= f.label :username %></td>
      <td><%= f.text_field :username %></td>
    </tr>
    <tr>
      <td><%= f.label :password %></td>
      <td><%= f.password_field :password %></td>
    </tr>
    <tr>
      <td><%= f.label :password_confirmation %></td>
      <td><%= f.password_field :password_confirmation %></td>
    </tr>
    <tr>
      <td colspan="2"></td>
    </tr>
    <tr>
      <td colspan="2"><%= f.submit "Sign up" %></td>
    </tr>
  </table>
<% end %>
  • 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-21T10:53:28+00:00Added an answer on May 21, 2026 at 10:53 am

    It seems that you do not have the appropriate routes. Do you have a line like :

    resources :users
    

    in your routes.rb file ? If not try adding that please. Or just create the particular users_path named route.

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

Sidebar

Related Questions

I'm new to ruby/rails and trying to build a simple Projects / Tags app
I am a new to Ruby on Rails and I have a question on
I'm new in Ruby/Rails, so, my question: what is the perfect way to upload
I am new to Ruby and Rails so bear with me please. I have
I an new in ruby and rails. Following the guide in ror document,I create
I am new to Ruby on Rails, Now try to install ROR. I follow
Hi Im new to Ruby On Rails, but have experience building iPhone apps. So
i am new to ROR, just setup the enviroment ruby 1.9.2 with rails 3.0.6
Just starting to learn Ruby on Rails. I'm using RoR 3. I have read
I'm new to Ruby on Rails and have some questions: What tutorials are available

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.