Skip to content

Instantly share code, notes, and snippets.

@marjinal1st
Created December 14, 2013 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marjinal1st/7957378 to your computer and use it in GitHub Desktop.
Save marjinal1st/7957378 to your computer and use it in GitHub Desktop.
Error
Started GET "/blog/hq/categories/new" for 127.0.0.1 at 2013-12-14 11:39:07 +0200
Processing by Kebapress::Hq::CategoriesController#new as HTML
Rendered /home/marjinal1st/Ruby/Work/kebapress/app/views/kebapress/hq/categories/_form.html.haml (55.9ms)
Rendered /home/marjinal1st/Ruby/Work/kebapress/app/views/kebapress/hq/categories/new.html.haml within layouts/hq/application (56.8ms)
Completed 500 Internal Server Error in 60ms
Rendered /home/marjinal1st/.rvm/gems/ruby-2.0.0-p247/gems/exception_notification-4.0.1/lib/exception_notifier/views/exception_notifier/_request.text.erb (0.3ms)
Rendered /home/marjinal1st/.rvm/gems/ruby-2.0.0-p247/gems/exception_notification-4.0.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.1ms)
Rendered /home/marjinal1st/.rvm/gems/ruby-2.0.0-p247/gems/exception_notification-4.0.1/lib/exception_notifier/views/exception_notifier/_session.text.erb (0.1ms)
Rendered /home/marjinal1st/.rvm/gems/ruby-2.0.0-p247/gems/exception_notification-4.0.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.0ms)
Rendered /home/marjinal1st/.rvm/gems/ruby-2.0.0-p247/gems/exception_notification-4.0.1/lib/exception_notifier/views/exception_notifier/_environment.text.erb (1.1ms)
Rendered /home/marjinal1st/.rvm/gems/ruby-2.0.0-p247/gems/exception_notification-4.0.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.1ms)
Rendered /home/marjinal1st/.rvm/gems/ruby-2.0.0-p247/gems/exception_notification-4.0.1/lib/exception_notifier/views/exception_notifier/_backtrace.text.erb (0.0ms)
Rendered /home/marjinal1st/.rvm/gems/ruby-2.0.0-p247/gems/exception_notification-4.0.1/lib/exception_notifier/views/exception_notifier/exception_notification.text.erb (10.6ms)
Sent mail to exceptions@example.com (15.4ms)
Date: Sat, 14 Dec 2013 11:39:07 +0200
From: Notifier <notifier@example.com>
To: exceptions@example.com
Message-ID: <52ac273b81e2b_41b28ad37c496ac@marjinal1st-ThinkPad-Edge-E330.mail>
Subject: [ERROR] categories#new (ActionView::Template::Error) "undefined
method `categories_path' for #<#<Class:0x007f02640b51b8>...
Mime-Version: 1.0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
An ActionView::Template::Error occurred in categories#new:
undefined method `categories_path' for #<#<Class:0x007f02640b51b8>:0x007f02640b54d8>
-------------------------------
Request:
-------------------------------
* URL : http://localhost:3000/blog/hq/categories/new
* HTTP Method: GET
* IP address : 127.0.0.1
* Parameters : {"action"=>"new", "controller"=>"kebapress/hq/categories"}
* Timestamp : 2013-12-14 09:39:07 UTC
* Server : marjinal1st-ThinkPad-Edge-E330
* Rails root : /home/marjinal1st/Ruby/Work/deneme
* Process: 1051
-------------------------------
Session:
-------------------------------
* session id: "9b00f711d0bb62b06c2790a3ff82d7d3"
* data: #<ActionDispatch::Request::Session:0x007f026c0c4480 ...>
-------------------------------
Environment:
-------------------------------
* GATEWAY_INTERFACE : CGI/1.1
* HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
* HTTP_ACCEPT_ENCODING : gzip,deflate,sdch
* HTTP_ACCEPT_LANGUAGE : tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4,pt;q=0.2
* HTTP_CONNECTION : keep-alive
* HTTP_COOKIE : remember_admin_token=BAhbB1sGaQZJIiIkMmEkMTAkQWgyaXI1a0lzUHAuY0w1a3dVa2FiZQY6BkVU--38a0f6feef32b999794ab07b5edbd69fcfb37c2c; request_method=GET; _deneme_session=TDR6RExoTkR5NXExYUptMzRUNG1VbFlFanpSTndLY3pwOG5KS09FUGRteFBYTDJiUlc1QzJ3SC9EajlmS1dERFJVL2NXamVLaWlVamF4WVdONzBBSlVNeWxxTWZucnVvVU42RFBTUHFHTnNRZHRmTVUxSTYrWC8zb09FZUFobi83d2pWOXRScU9XR1ByS3BNUEtsSmVYQmJ4SGllaFJsZFFSZnJ1Y1QvOVVtYzZqelBOYUU2cisxRktrbTJqR2tMUTc1ZHdtQTJTUjJkSGkzeXR1MUJUbnZHZUgvWCtkTGxVczhhVFpKZVhKL0labk1JQjVvSWlNOUF5NEQyaC9rbXNZb2tXUnRKSjB5VUYwK1ppT0xPZHVqUUh4SG40Q0ZxSGNGc0xsdmQ3OGN1Wm0wRENIMWFVdjd0NFUwd05kanpQMkRQSXBhc3FWOWl6eUJESXkyWmRYRWpJb0lCMlZLQ0ljWmJXcGdITVRaS1VDTy8waURRMmV6OWRKRmwxVC9WZEloWnMwc2VpMzNhUzY0MDFsRUFoNk9PeXF1UXZhblU1K01tQXgzcEdvWHZFeURhWDR6dGErM3JIU2xEdnd3Ny0tK0ZIUlZtLzVielpHV2tmMENJUlR6UT09--0cab9bdced376403327fd1dad8e75976b9dca7e0
* HTTP_HOST : localhost:3000
* HTTP_REFERER : http://localhost:3000/blog/hq
* HTTP_USER_AGENT : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
* HTTP_VERSION : HTTP/1.1
* ORIGINAL_FULLPATH : /blog/hq/categories/new
* ORIGINAL_SCRIPT_NAME :
* PATH_INFO : /hq/categories/new
* QUERY_STRING :
* REMOTE_ADDR : 127.0.0.1
* REMOTE_HOST : 127.0.0.1
* REQUEST_METHOD : GET
* REQUEST_PATH : /blog/hq/categories/new
* REQUEST_URI : http://localhost:3000/blog/hq/categories/new?
* ROUTES_29492540_SCRIPT_NAME : /blog
* ROUTES_40027300_SCRIPT_NAME :
* SCRIPT_NAME : /blog
* SERVER_NAME : localhost
* SERVER_PORT : 3000
* SERVER_PROTOCOL : HTTP/1.1
* SERVER_SOFTWARE : WEBrick/1.3.1 (Ruby/2.0.0/2013-06-27)
* action_controller.instance : #<Kebapress::Hq::CategoriesController:0x007f026c11cdb0>
* action_dispatch.backtrace_cleaner : #<Rails::BacktraceCleaner:0x0000000480f2b0>
* action_dispatch.cookies : #<ActionDispatch::Cookies::CookieJar:0x007f02640b7d00>
* action_dispatch.encrypted_cookie_salt : encrypted cookie
* action_dispatch.encrypted_signed_cookie_salt : signed encrypted cookie
* action_dispatch.http_auth_salt : http authentication
* action_dispatch.key_generator : #<ActiveSupport::CachingKeyGenerator:0x0000000482c6f8>
* action_dispatch.logger : #<ActiveSupport::Logger:0x00000004dcc0e0>
* action_dispatch.parameter_filter : [:password, :password_confirmation]
* action_dispatch.redirect_filter : []
* action_dispatch.remote_ip : 127.0.0.1
* action_dispatch.request.content_type :
* action_dispatch.request.formats : [#<Mime::Type:0x00000002fa9888 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html">]
* action_dispatch.request.parameters : {"action"=>"new", "controller"=>"kebapress/hq/categories"}
* action_dispatch.request.path_parameters : {:action=>"new", :controller=>"kebapress/hq/categories"}
* action_dispatch.request.query_parameters : {}
* action_dispatch.request.request_parameters : {}
* action_dispatch.request.unsigned_session_cookie: {"session_id"=>"9b00f711d0bb62b06c2790a3ff82d7d3", "admin_return_to"=>"/hq/dashboard.html", "flash"=>{"discard"=>[], "flashes"=>{:notice=>"Signed in successfully."}}, "warden.user.admin.key"=>[[1], "$2a$10$Ah2ir5kIsPp.cL5kwUkabe"], "_csrf_token"=>"bk9jqxszOaLRs7AOpzDhBjWWnwoNc3vk17Sjxb6RoK4="}
* action_dispatch.request_id : 4e5aaf69-8a07-40b3-9f31-e65cc9a2585b
* action_dispatch.routes : #<ActionDispatch::Routing::RouteSet:0x00000003840a78>
* action_dispatch.secret_key_base : f93592b270d4b1a45012c673ac282bec287d1bdc85b6a31a9066e30132b15019b07a2fbbdec03deaf97caf4648753204b75781c2304ced4b8acac8aacfbe64d5
* action_dispatch.secret_token :
* action_dispatch.show_detailed_exceptions : true
* action_dispatch.show_exceptions : true
* action_dispatch.signed_cookie_salt : signed cookie
* rack.errors : #<IO:0x000000016ae158>
* rack.input : #<StringIO:0x007f02782aa770>
* rack.multiprocess : false
* rack.multithread : false
* rack.request.cookie_hash : {"remember_admin_token"=>"BAhbB1sGaQZJIiIkMmEkMTAkQWgyaXI1a0lzUHAuY0w1a3dVa2FiZQY6BkVU--38a0f6feef32b999794ab07b5edbd69fcfb37c2c", "request_method"=>"GET", "_deneme_session"=>"TDR6RExoTkR5NXExYUptMzRUNG1VbFlFanpSTndLY3pwOG5KS09FUGRteFBYTDJiUlc1QzJ3SC9EajlmS1dERFJVL2NXamVLaWlVamF4WVdONzBBSlVNeWxxTWZucnVvVU42RFBTUHFHTnNRZHRmTVUxSTYrWC8zb09FZUFobi83d2pWOXRScU9XR1ByS3BNUEtsSmVYQmJ4SGllaFJsZFFSZnJ1Y1QvOVVtYzZqelBOYUU2cisxRktrbTJqR2tMUTc1ZHdtQTJTUjJkSGkzeXR1MUJUbnZHZUgvWCtkTGxVczhhVFpKZVhKL0labk1JQjVvSWlNOUF5NEQyaC9rbXNZb2tXUnRKSjB5VUYwK1ppT0xPZHVqUUh4SG40Q0ZxSGNGc0xsdmQ3OGN1Wm0wRENIMWFVdjd0NFUwd05kanpQMkRQSXBhc3FWOWl6eUJESXkyWmRYRWpJb0lCMlZLQ0ljWmJXcGdITVRaS1VDTy8waURRMmV6OWRKRmwxVC9WZEloWnMwc2VpMzNhUzY0MDFsRUFoNk9PeXF1UXZhblU1K01tQXgzcEdvWHZFeURhWDR6dGErM3JIU2xEdnd3Ny0tK0ZIUlZtLzVielpHV2tmMENJUlR6UT09--0cab9bdced376403327fd1dad8e75976b9dca7e0"}
* rack.request.cookie_string : remember_admin_token=BAhbB1sGaQZJIiIkMmEkMTAkQWgyaXI1a0lzUHAuY0w1a3dVa2FiZQY6BkVU--38a0f6feef32b999794ab07b5edbd69fcfb37c2c; request_method=GET; _deneme_session=TDR6RExoTkR5NXExYUptMzRUNG1VbFlFanpSTndLY3pwOG5KS09FUGRteFBYTDJiUlc1QzJ3SC9EajlmS1dERFJVL2NXamVLaWlVamF4WVdONzBBSlVNeWxxTWZucnVvVU42RFBTUHFHTnNRZHRmTVUxSTYrWC8zb09FZUFobi83d2pWOXRScU9XR1ByS3BNUEtsSmVYQmJ4SGllaFJsZFFSZnJ1Y1QvOVVtYzZqelBOYUU2cisxRktrbTJqR2tMUTc1ZHdtQTJTUjJkSGkzeXR1MUJUbnZHZUgvWCtkTGxVczhhVFpKZVhKL0labk1JQjVvSWlNOUF5NEQyaC9rbXNZb2tXUnRKSjB5VUYwK1ppT0xPZHVqUUh4SG40Q0ZxSGNGc0xsdmQ3OGN1Wm0wRENIMWFVdjd0NFUwd05kanpQMkRQSXBhc3FWOWl6eUJESXkyWmRYRWpJb0lCMlZLQ0ljWmJXcGdITVRaS1VDTy8waURRMmV6OWRKRmwxVC9WZEloWnMwc2VpMzNhUzY0MDFsRUFoNk9PeXF1UXZhblU1K01tQXgzcEdvWHZFeURhWDR6dGErM3JIU2xEdnd3Ny0tK0ZIUlZtLzVielpHV2tmMENJUlR6UT09--0cab9bdced376403327fd1dad8e75976b9dca7e0
* rack.request.query_hash : {}
* rack.request.query_string :
* rack.run_once : false
* rack.session : #<ActionDispatch::Request::Session:0x007f026c0c4480>
* rack.session.options : #<ActionDispatch::Request::Session::Options:0x007f026c0c4430>
* rack.url_scheme : http
* rack.version : [1, 2]
* warden : Warden::Proxy:69824189702540 @config={:default_scope=>:admin, :scope_defaults=>{}, :default_strategies=>{:admin=>[:rememberable, :database_authenticatable], :user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x00000004c6ce48>}
NoMethodError - undefined method `categories_path' for #<#<Class:0x007f02640b51b8>:0x007f02640b54d8>:
actionpack (4.0.0) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
actionpack (4.0.0) lib/action_dispatch/routing/polymorphic_routes.rb:135:in `polymorphic_path'
actionpack (4.0.0) lib/action_view/helpers/form_helper.rb:452:in `apply_form_for_options!'
actionpack (4.0.0) lib/action_view/helpers/form_helper.rb:426:in `form_for'
haml (4.0.4) lib/haml/helpers/action_view_mods.rb:146:in `form_for_with_haml'
haml (4.0.4) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
/home/marjinal1st/Ruby/Work/kebapress/app/views/kebapress/hq/categories/_form.html.haml:1:in `__home_marjinal_st__uby__ork_kebapress_app_views_kebapress_hq_categories__form_html_haml___2928414006276688796_69824257343860'
actionpack (4.0.0) lib/action_view/template.rb:143:in `block in render'
activesupport (4.0.0) lib/active_support/notifications.rb:161:in `instrument'
actionpack (4.0.0) lib/action_view/template.rb:141:in `render'
actionpack (4.0.0) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionpack (4.0.0) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionpack (4.0.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.0.0) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.0) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (4.0.0) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionpack (4.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionpack (4.0.0) lib/action_view/helpers/rendering_helper.rb:27:in `render'
haml (4.0.4) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.4) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.4) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/home/marjinal1st/Ruby/Work/kebapress/app/views/kebapress/hq/categories/new.html.haml:2:in `__home_marjinal_st__uby__ork_kebapress_app_views_kebapress_hq_categories_new_html_haml___1696704333083569205_69824257334800'
actionpack (4.0.0) lib/action_view/template.rb:143:in `block in render'
activesupport (4.0.0) lib/active_support/notifications.rb:161:in `instrument'
actionpack (4.0.0) lib/action_view/template.rb:141:in `render'
actionpack (4.0.0) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
actionpack (4.0.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.0.0) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.0) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (4.0.0) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
actionpack (4.0.0) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
actionpack (4.0.0) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
actionpack (4.0.0) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionpack (4.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionpack (4.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
actionpack (4.0.0) lib/abstract_controller/rendering.rb:127:in `_render_template'
actionpack (4.0.0) lib/action_controller/metal/streaming.rb:219:in `_render_template'
actionpack (4.0.0) lib/abstract_controller/rendering.rb:120:in `render_to_body'
actionpack (4.0.0) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
actionpack (4.0.0) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
actionpack (4.0.0) lib/abstract_controller/rendering.rb:97:in `render'
actionpack (4.0.0) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/marjinal1st/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.0.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.0.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.0.0) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.0.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.0.0) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (4.0.0) lib/active_support/callbacks.rb:403:in `_run__1291633272388907697__process_action__callbacks'
activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
actionpack (4.0.0) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (4.0.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.0.0) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.0) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.0.0) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
activerecord (4.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.0.0) lib/abstract_controller/base.rb:136:in `process'
actionpack (4.0.0) lib/abstract_controller/rendering.rb:44:in `process'
actionpack (4.0.0) lib/action_controller/metal.rb:195:in `dispatch'
actionpack (4.0.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.0.0) lib/action_controller/metal.rb:231:in `block in action'
actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:48:in `call'
actionpack (4.0.0) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.0.0) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:655:in `call'
railties (4.0.0) lib/rails/engine.rb:511:in `call'
railties (4.0.0) lib/rails/railtie/configurable.rb:30:in `method_missing'
actionpack (4.0.0) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.0.0) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:655:in `call'
exception_notification (4.0.1) lib/exception_notification/rack.rb:28:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/flash.rb:241:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/cookies.rb:486:in `call'
activerecord (4.0.0) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
activerecord (4.0.0) lib/active_record/migration.rb:369:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__2437783357598846068__call__callbacks'
activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
railties (4.0.0) lib/rails/engine.rb:511:in `call'
railties (4.0.0) lib/rails/application.rb:97:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/home/marjinal1st/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/home/marjinal1st/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/home/marjinal1st/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Controller Method:
def new
@category = Kebapress::Category.new
end
Form for New:
=form_for @category do |f|
=f.label :title
=f.text_field :title
%br
=f.submit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment