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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T04:37:30+00:00 2026-06-17T04:37:30+00:00

When I deploy to heroku, when I try to create a new comment, which

  • 0

When I deploy to heroku, when I try to create a new comment, which is nested in blueprints, I throw and error. I have tried so much that I can’t even remember it all to write it in here. Let me know if I am missing something obvious. Thanks!

2012-12-18T00:07:26+00:00 app[web.1]: Processing by CommentsController#new as HTML
2012-12-18T00:07:26+00:00 app[web.1]:   Parameters: {"blueprint_id"=>"1"}
2012-12-18T00:07:26+00:00 heroku[router]: at=info method=GET path=/blueprints/1/comments/new host=aeh.herokuapp.com fwd=68.200.131.243 dyno=web.1 queue=0 wait=0ms connect=3ms service=44ms status=500 bytes=643
2012-12-18T00:07:26+00:00 app[web.1]: Completed 500 Internal Server Error in 8ms
2012-12-18T00:07:26+00:00 app[web.1]: 
2012-12-18T00:07:26+00:00 app[web.1]:   app/views/comments/_form.html.erb:29:in `block in _app_views_comments__form_html_erb___740426380689644965_39997500'
2012-12-18T00:07:26+00:00 app[web.1]: 
2012-12-18T00:07:26+00:00 app[web.1]: ActionView::Template::Error (undefined method `category' for #<Comment:0x00000005109730>):
2012-12-18T00:07:26+00:00 app[web.1]:     30:     </div>
2012-12-18T00:07:26+00:00 app[web.1]:   Rendered comments/new.html.erb within layouts/application (5.4ms)
2012-12-18T00:07:26+00:00 app[web.1]:   Rendered comments/_form.html.erb (3.1ms)
2012-12-18T00:07:26+00:00 app[web.1]:     28:     <div class="controls">
2012-12-18T00:07:26+00:00 app[web.1]:     27:     <%= f.label :category, :class => 'control-label' %>
2012-12-18T00:07:26+00:00 app[web.1]:   app/views/comments/new.html.erb:6:in `_app_views_comments_new_html_erb___765962496684666744_33764340'
2012-12-18T00:07:26+00:00 app[web.1]:     26:   <div class="control-group">
2012-12-18T00:07:26+00:00 app[web.1]:   app/views/comments/_form.html.erb:1:in `_app_views_comments__form_html_erb___740426380689644965_39997500'
2012-12-18T00:07:26+00:00 app[web.1]: 
2012-12-18T00:07:26+00:00 app[web.1]:     32: 
2012-12-18T00:07:26+00:00 app[web.1]:     29:       <%= f.text_field :category, :class => 'text_field' %>
2012-12-18T00:07:26+00:00 app[web.1]:     31:   </div>
2012-12-18T00:07:26+00:00 app[web.1]:   app/controllers/comments_controller.rb:35:in `new'
2012-12-18T00:07:27+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2012-12-18T00:07:27+00:00 app[web.1]: [2012-12-18 00:07:27] ERROR SignalException: SIGTERM
2012-12-18T00:07:27+00:00 app[web.1]:   /usr/local/lib/ruby/1.9.1/webrick/server.rb:90:in `select'
2012-12-18T00:07:28+00:00 heroku[web.1]: Starting process with command `bundle exec     rails server -p 46647`

_form partial below

<%= form_for [@blueprint, @comment], :html => { :class => 'form-horizontal' } do |f| %>
 <div class="control-group">
<%= f.label :comment, :class => 'control-label' %>
<div class="controls">
  <%= f.text_area :comment, :class => 'text_area' %>
</div>
</div> 
<div class="control-group">
 <%= f.label :blueprint_id, :class => 'control-label' %>
  <div class="controls">
   <%= f.number_field :blueprint_id, :class => 'number_field' %>
 </div>
 </div>
 <div class="control-group">
 <%= f.label :user_id, :class => 'control-label' %>
  <div class="controls">
  <%= f.number_field :user_id, :class => 'number_field' %> 
  </div>
 </div>
 <div class="control-group">
<%= f.label :project_id, :class => 'control-label' %>
<div class="controls">
   <%= f.number_field :project_id, :class => 'number_field' %>
 </div>
  </div>
 <div class="control-group">
 <%= f.label :category, :class => 'control-label' %>
  <div class="controls">
   <%= f.text_field :category, :class => 'text_field' %>
 </div>
 </div>

 <div class="form-actions">
   <%= f.submit nil, :class => 'btn btn-primary' %>
    <%= link_to t('.cancel', :default => t("helpers.links.cancel")),
              blueprint_comments_path(@blueprint), :class => 'btn' %>
</div>
  • 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-17T04:37:32+00:00Added an answer on June 17, 2026 at 4:37 am

    “Fixed by adding migration to local end and pushing to heroku again. “

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

Sidebar

Related Questions

I have a heroku app, that's like the default, but I want to deploy
I get this error when i try to deploy my app to Heroku. My
I have a small project that I want to deploy to both Heroku and
I want to deploy an app in Heroku to try their new Play! Framework
I have tried to deploy on heroku with git. Git console: Home@PC /c/rails/konkurranceportalen (master)
I have a rails app that is getting a weird error when I try
How to deploy rails 3 beta project on heroku? When I try to do
I'm trying to deploy an app on Heroku that works just fine on my
I try to deploy my first app on heroku. I've created a gem manifest
I got a 500 Internal Sever error when I try to deploy my rails

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.