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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:30:52+00:00 2026-06-18T05:30:52+00:00

I am getting the following error in Rails 3.2.9: Template is missing Missing template

  • 0

I am getting the following error in Rails 3.2.9:

Template is missing

Missing template projects/create, application/create with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. Searched in: * "c:/Documents and Settings/.../app/views"

I started getting this error yesterday, went back and rebuilt my controller and was still getting the error. I then rebuilt everything with the rails generate scaffold on the command line. When I went in to save a new object instance, I am still getting the same error.

My presumption is that the scaffold generator would produce the correct code on a bare-bones basis, and then allow me to piece by piece, rebuild the functionality.

I am including the code for the model and controller below:

class Project < ActiveRecord::Base
  attr_accessible   :title, ...

end

++++++++++

class ProjectsController < ApplicationController

  # GET /projects
  def index
    @projects = Project.all


  end

  # GET /projects/1
  def show
    @project = Project.find(params[:id])


  end

  # GET /projects/new
  def new
    @project = Project.new


  end

  # GET /projects/1/edit
  def edit
    @project = Project.find(params[:id])
  end

  # POST /projects
  def create
    @project = Project.new(params[:project])
    @project.save

  end

  # PUT /projects/1
  def update
    @project = Project.find(params[:id])


  end

  # DELETE /projects/1
  def destroy
    @project = Project.find(params[:id])
    @project.destroy


  end
end

Anyone have any ideas? Did Rails develop a bug overnight? I haven’t been able to find anything using Google-Fu that might attribute to this.
Thanks.

  • 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-18T05:30:53+00:00Added an answer on June 18, 2026 at 5:30 am

    Not sure about default rails scaffolding in rails but in general you should redirect on create with a success flash message:

    @project = Project.new(params[:project])
    if @project.save
      redirect_to @project, notice: "Success"
    else
      render :new
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting the following error in my Rails application and I have no idea
I am creating first twitter bootstrap application but getting following error in rails 3.2.3
I'm getting the following error when I boot my rails 3.1.3 application: psych.rb:148:in `parse':
I'm new to rails and getting the following error: NameError in FriendshipsController#create uninitialized constant
I am getting the following error in my Rails 3.2 functional tests: ActionView::Template::Error: undefined
I'm getting the following error in my rails app: comparison of User with User
I am getting following error while installing the application on my device. before running
Im using the following guide for getting started with rails for ubuntu 9.10. http://guides.rails.info/getting_started.html
I'm a newbie Rails developer who is getting the following error when trying to
I'm using gvim and rails.vim and getting the following error when attempting to run

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.