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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:03:44+00:00 2026-06-07T19:03:44+00:00

When I open an application that I’ve been building on heroku, I get an

  • 0

When I open an application that I’ve been building on heroku, I get an application error when I go to the signup page. I went into my heroku logs, and found this error message:

Completed 500 Internal Server Error in 6ms Rendered users/new.html.erb within layouts/application (5.5ms)
ActionView::Template::Error (undefined method `time_zone’ for #):

Here is my view for creating a new user:

<div class="row">
<div class="span6 offset4">
    <%= form_for(@user) do |f| %>

        <%= render 'shared/error_messages' %>

        <%= f.label :name %>
        <%= f.text_field :name %>

        <%= f.label :email %>
        <%= f.text_field :email %>

        <%= f.label :phone_number, "Your cell phone number" %>
        <%= f.text_field :phone_number %>

        <%= f.label :password %>
        <%= f.password_field :password %>

        <%= f.label :password_confirmation, "Password confirmation" %>
        <%= f.password_field :password_confirmation %>

        <%= f.label :time_zone, "Choose your time zone" %>
        <%= f.select :time_zone, [['Eastern'], ['Central'], ['Mountain'], ['Pacific']] %><br>

    <%= f.submit "Create my account", class: "btn btn-large btn-primary" %>
    <% end %>

What might be causing this error, and how can I go about fixing it? Thanks so much!

  def create
@user = User.new(params[:user])
if @user.save
 sign_in @user
  flash[:success] = "Welcome to app!"
 redirect_to info_path
else
  render 'new'
end

end

def new
@user = User.new
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-06-07T19:03:45+00:00Added an answer on June 7, 2026 at 7:03 pm

    Make sure you migrate your database after pushing to heroku

    heroku run rake db:migrate
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Spring.NET is an open source application framework that makes building enterprise .NET applications easier.
I have found an open source application that creates a JFrame to display some
Is there an open source Android application that allows you to view the image
I have made an application that gives the user the option to open up
I'm looking for a simple open source, or reference application that I could use
When we open NUnit application it loads the assemblies that are loaded in it
In my application i need to open pdf file.For that i have prepared code
I have a general question that is rather open-ended (i.e. depends on platform, application
I have a C# application that I'm trying to get to update automatically via
I have an application that open an external application to read PDF files. here

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.