Created
September 4, 2009 19:44
-
-
Save captproton/181078 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Missing migration | |
class AddDemographicsToUsers < ActiveRecord::Migration | |
def self.up | |
add_column :users, :name, :string | |
add_column :users, :company, :string | |
add_column :users, :phone, :string | |
add_column :users, :address, :string | |
add_column :users, :city, :string | |
add_column :users, :State, :string | |
add_column :users, :zip, :string | |
add_column :users, :country, :string | |
end | |
def self.down | |
remove_column :users, :country | |
remove_column :users, :zip | |
remove_column :users, :State | |
remove_column :users, :city | |
remove_column :users, :address | |
remove_column :users, :phone | |
remove_column :users, :company | |
remove_column :users, :email | |
remove_column :users, :name | |
end | |
end | |
## heroku logs | |
$ heroku logs | |
==> server_50339_f59c589_db46_25331.log <== | |
>> Thin web server (v1.0.1 codename ?) | |
>> Debugging ON | |
>> Maximum connections set to 1024 | |
>> Listening on 0.0.0.0:25331, CTRL+C to stop | |
(Not all processes could be identified, non-owned process info | |
will not be shown, you would have to be root to see it all.) | |
==> production.log <== | |
Rendering /disk1/home/slugs/50339_f59c589_db46/mnt/public/500.html (500 Internal Server Error) | |
Processing EmailersController#new (for 76.230.238.81 at 2009-09-04 12:20:48) [GET] | |
Rendering template within layouts/application | |
Rendering emailers/new | |
Completed in 2ms (View: 2, DB: 0) | 200 OK [http://privatelabel.heroku.com/signup] | |
Processing EmailersController#create (for 76.230.238.81 at 2009-09-04 12:20:51) [POST] | |
Parameters: {"x"=>"200", "y"=>"25", "authenticity_token"=>"dtY3LzSa1fn6mhSapgPdFnTjkqjoNzm+CLqDRBM0Phs="} | |
Redirected to http://privatelabel.heroku.com/emailers/47 | |
Completed in 5ms (DB: 2) | 302 Found [http://privatelabel.heroku.com/emailers] | |
Processing EmailersController#show (for 76.230.238.81 at 2009-09-04 12:20:52) [GET] | |
Parameters: {"id"=>"47"} | |
Rendering template within layouts/application | |
Rendering emailers/show | |
Completed in 6ms (View: 2, DB: 3) | 200 OK [http://privatelabel.heroku.com/emailers/47] | |
Processing EmailersController#edit (for 76.230.238.81 at 2009-09-04 12:20:55) [GET] | |
Parameters: {"id"=>"47"} | |
Rendering template within layouts/application | |
Rendering emailers/edit | |
Completed in 9ms (View: 6, DB: 2) | 200 OK [http://privatelabel.heroku.com/emailers/47/edit] | |
Processing ApplicationController#index (for 76.230.238.81 at 2009-09-04 12:20:55) [GET] | |
ActionController::RoutingError (No route matches "/emailers/47/images/dot.gif" with {:method=>:get}): | |
/home/heroku_rack/lib/minilint.rb:23:in `call' | |
/home/heroku_rack/lib/static_assets.rb:9:in `call' | |
/home/heroku_rack/lib/last_access.rb:18:in `call' | |
thin (1.0.1) lib/thin/connection.rb:80:in `pre_process' | |
thin (1.0.1) lib/thin/connection.rb:78:in `catch' | |
thin (1.0.1) lib/thin/connection.rb:78:in `pre_process' | |
thin (1.0.1) lib/thin/connection.rb:57:in `process' | |
thin (1.0.1) lib/thin/connection.rb:42:in `receive_data' | |
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine' | |
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run' | |
thin (1.0.1) lib/thin/backends/base.rb:57:in `start' | |
thin (1.0.1) lib/thin/server.rb:150:in `start' | |
thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start' | |
thin (1.0.1) lib/thin/runner.rb:173:in `send' | |
thin (1.0.1) lib/thin/runner.rb:173:in `run_command' | |
thin (1.0.1) lib/thin/runner.rb:139:in `run!' | |
thin (1.0.1) bin/thin:6 | |
/usr/local/bin/thin:20:in `load' | |
/usr/local/bin/thin:20 | |
Rendering /disk1/home/slugs/50339_f59c589_db46/mnt/public/404.html (404 Not Found) | |
Processing EmailersController#update (for 76.230.238.81 at 2009-09-04 12:21:37) [PUT] | |
Parameters: {"emailer"=>{"name"=>"your name", "firstedition"=>"name of first email edition", "sitename"=>"name of first mailing list", "email"=>"your email address"}, "x"=>"74", "y"=>"12", "authenticity_token"=>"dtY3LzSa1fn6mhSapgPdFnTjkqjoNzm+CLqDRBM0Phs=", "id"=>"47", "direction"=>"next"} | |
Redirected to http://privatelabel.heroku.com/emailers/47/edit | |
Completed in 11ms (DB: 6) | 302 Found [http://privatelabel.heroku.com/emailers/47] | |
Processing EmailersController#edit (for 76.230.238.81 at 2009-09-04 12:21:37) [GET] | |
Parameters: {"id"=>"47"} | |
Rendering template within layouts/application | |
Rendering emailers/edit | |
Completed in 15ms (View: 12, DB: 3) | 200 OK [http://privatelabel.heroku.com/emailers/47/edit] | |
Processing EmailersController#update (for 76.230.238.81 at 2009-09-04 12:21:45) [PUT] | |
Parameters: {"x"=>"79", "y"=>"7", "authenticity_token"=>"dtY3LzSa1fn6mhSapgPdFnTjkqjoNzm+CLqDRBM0Phs=", "id"=>"47", "direction"=>"next"} | |
Redirected to http://privatelabel.heroku.com/users/new | |
Completed in 17ms (DB: 12) | 302 Found [http://privatelabel.heroku.com/emailers/47] | |
Processing UsersController#new (for 76.230.238.81 at 2009-09-04 12:21:45) [GET] | |
Rendering template within layouts/application | |
Rendering users/new | |
ActionView::TemplateError (undefined method `name' for #<User:0x2ba398c18ec0>) on line #80 of app/views/users/_user.erb: | |
77: <div align="center"> | |
78: <table cellspacing="2" cellpadding="0" width="300" border="0"> | |
79: <tr><td align="left" valign="middle"><font class="blue">Name <span class="red">*</span></font></td> | |
80: <td align="left" valign="middle"><%= f.text_field :name, :size => "20", :maxlength =>"12" %> | |
81: <!-- stort formatting --> | |
82: | |
83: </td></tr> | |
app/views/users/_user.erb:80 | |
app/views/users/_user.erb:50 | |
app/views/users/new.html.erb:2 | |
/home/heroku_rack/lib/minilint.rb:23:in `call' | |
/home/heroku_rack/lib/static_assets.rb:9:in `call' | |
/home/heroku_rack/lib/last_access.rb:18:in `call' | |
thin (1.0.1) lib/thin/connection.rb:80:in `pre_process' | |
thin (1.0.1) lib/thin/connection.rb:78:in `catch' | |
thin (1.0.1) lib/thin/connection.rb:78:in `pre_process' | |
thin (1.0.1) lib/thin/connection.rb:57:in `process' | |
thin (1.0.1) lib/thin/connection.rb:42:in `receive_data' | |
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine' | |
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run' | |
thin (1.0.1) lib/thin/backends/base.rb:57:in `start' | |
thin (1.0.1) lib/thin/server.rb:150:in `start' | |
thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start' | |
thin (1.0.1) lib/thin/runner.rb:173:in `send' | |
thin (1.0.1) lib/thin/runner.rb:173:in `run_command' | |
thin (1.0.1) lib/thin/runner.rb:139:in `run!' | |
thin (1.0.1) bin/thin:6 | |
/usr/local/bin/thin:20:in `load' | |
/usr/local/bin/thin:20 | |
Rendering /disk1/home/slugs/50339_f59c589_db46/mnt/public/500.html (500 Internal Server Error) | |
Processing UsersController#new (for 93.97.43.73 at 2009-09-04 12:30:26) [GET] | |
Rendering template within layouts/application | |
Rendering users/new | |
ActionView::TemplateError (undefined method `name' for #<User:0x2ba398b0c298>) on line #80 of app/views/users/_user.erb: | |
77: <div align="center"> | |
78: <table cellspacing="2" cellpadding="0" width="300" border="0"> | |
79: <tr><td align="left" valign="middle"><font class="blue">Name <span class="red">*</span></font></td> | |
80: <td align="left" valign="middle"><%= f.text_field :name, :size => "20", :maxlength =>"12" %> | |
81: <!-- stort formatting --> | |
82: | |
83: </td></tr> | |
app/views/users/_user.erb:80 | |
app/views/users/_user.erb:50 | |
app/views/users/new.html.erb:2 | |
/home/heroku_rack/lib/minilint.rb:23:in `call' | |
/home/heroku_rack/lib/static_assets.rb:9:in `call' | |
/home/heroku_rack/lib/last_access.rb:18:in `call' | |
thin (1.0.1) lib/thin/connection.rb:80:in `pre_process' | |
thin (1.0.1) lib/thin/connection.rb:78:in `catch' | |
thin (1.0.1) lib/thin/connection.rb:78:in `pre_process' | |
thin (1.0.1) lib/thin/connection.rb:57:in `process' | |
thin (1.0.1) lib/thin/connection.rb:42:in `receive_data' | |
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine' | |
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run' | |
thin (1.0.1) lib/thin/backends/base.rb:57:in `start' | |
thin (1.0.1) lib/thin/server.rb:150:in `start' | |
thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start' | |
thin (1.0.1) lib/thin/runner.rb:173:in `send' | |
thin (1.0.1) lib/thin/runner.rb:173:in `run_command' | |
thin (1.0.1) lib/thin/runner.rb:139:in `run!' | |
thin (1.0.1) bin/thin:6 | |
/usr/local/bin/thin:20:in `load' | |
/usr/local/bin/thin:20 | |
Rendering /disk1/home/slugs/50339_f59c589_db46/mnt/public/500.html (500 Internal Server Error) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment