Created
August 29, 2012 17:30
-
-
Save ChasManRors/3515898 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Rightpeopleforthejob::Application.routes.draw do | |
# devise_for :users, :controllers => {:registrations => "registrations"} | |
devise_for :users | |
resources :testscaffolds | |
resources :filter_analytics | |
resources :contact_feewises | |
resources :bulletins | |
resources :discount_codes | |
ActiveAdmin.routes(self) | |
devise_for :admin_users, ActiveAdmin::Devise.config | |
resources :us | |
resources :subscriptions | |
resources :purchase_preferences | |
resources :accounts | |
resources :cards | |
get "static_pages/create" | |
get "static_pages/support" | |
get "static_pages/purchase" | |
get "static_pages/partners" | |
get "static_pages/investors" | |
get "static_pages/careers" | |
get "static_pages/why_feewise" | |
get "static_pages/terms_of_use" | |
get "static_pages/sign_up" | |
get "static_pages/sign_in" | |
get "static_pages/forgot" | |
get "static_pages/privacy_policy" | |
get "static_pages/how_it_works" | |
get "static_pages/about_us" | |
get "static_pages/thank_you" | |
get "static_pages/equal_housing_opportunity" | |
get "static_pages/team" | |
get "static_pages/run_restart" | |
# get "static_pages/F123" | |
resources :static_pages | |
resources :agents | |
# The priority is based upon order of creation: | |
# first created -> highest priority. | |
# Sample of regular route: | |
# match 'products/:id' => 'catalog#view' | |
# Keep in mind you can assign values other than :controller and :action | |
# Sample of named route: | |
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase | |
# This route can be invoked with purchase_url(:id => product.id) | |
# Sample resource route (maps HTTP verbs to controller actions automatically): | |
# resources :products | |
# Sample resource route with options: | |
# resources :products do | |
# member do | |
# get 'short' | |
# post 'toggle' | |
# end | |
# | |
# collection do | |
# get 'sold' | |
# end | |
# end | |
# Sample resource route with sub-resources: | |
# resources :products do | |
# resources :comments, :sales | |
# resource :seller | |
# end | |
# Sample resource route with more complex sub-resources | |
# resources :products do | |
# resources :comments | |
# resources :sales do | |
# get 'recent', :on => :collection | |
# end | |
# end | |
# Sample resource route within a namespace: | |
# namespace :admin do | |
# # Directs /admin/products/* to Admin::ProductsController | |
# # (app/controllers/admin/products_controller.rb) | |
# resources :products | |
# end | |
# You can have the root of your site routed with "root" | |
# just remember to delete public/index.html. | |
# root :to => 'welcome#index' | |
# root :to => "static_pages#index" | |
authenticated :user do | |
# root :to => 'static_pages#private_home' | |
# root :to => 'agents#index' | |
# root :to => 'purchase_preferences#show' | |
# root :to => 'accounts#show' | |
root :to => 'static_pages#index' | |
end | |
root :to => 'static_pages#index' | |
# See how all your routes lay out with "rake routes" | |
# This is a legacy wild controller route that's not recommended for RESTful applications. | |
# Note: This route will make all actions in every controller accessible via GET requests. | |
# match ':controller(/:action(/:id))(.:format)' | |
match ':action' => 'static_pages#:action' | |
end | |
Started GET "/assets/twitter/bootstrap.js?body=1" for 127.0.0.1 at 2012-08-29 13:34:03 -0400 | |
Served asset /twitter/bootstrap.js - 304 Not Modified (2ms) | |
Started POST "/users" for 127.0.0.1 at 2012-08-29 13:34:28 -0400 | |
Processing by RegistrationsController#create as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"1+6mtVeJD8zy5xTGBsqabyYrErFBdNsgqm6Oane95s8=", "user"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"} | |
(0.1ms) begin transaction | |
User Exists (30.3ms) SELECT 1 FROM "users" WHERE "users"."email" = '[email protected]' LIMIT 1 | |
SQL (61.2ms) INSERT INTO "accounts" ("amount_paid", "created_at", "feewise_token", "updated_at", "user_id", "when_paid") VALUES (?, ?, ?, ?, ?, ?) [["amount_paid", nil], ["created_at", Wed, 29 Aug 2012 17:34:28 UTC +00:00], ["feewise_token", nil], ["updated_at", Wed, 29 Aug 2012 17:34:28 UTC +00:00], ["user_id", nil], ["when_paid", nil]] | |
(0.6ms) rollback transaction | |
Redirected to | |
Completed 500 Internal Server Error in 482ms | |
NoMethodError (undefined method `users_url' for #<RegistrationsController:0x007f887e326690>): | |
actionpack (3.2.3) lib/action_dispatch/routing/polymorphic_routes.rb:127:in `polymorphic_url' | |
actionpack (3.2.3) lib/action_dispatch/routing/url_for.rb:150:in `url_for' | |
actionpack (3.2.3) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' | |
actionpack (3.2.3) lib/action_controller/metal/redirecting.rb:64:in `redirect_to' | |
actionpack (3.2.3) lib/action_controller/metal/flash.rb:25:in `redirect_to' | |
actionpack (3.2.3) lib/action_controller/metal/instrumentation.rb:60:in `block in redirect_to' | |
activesupport (3.2.3) lib/active_support/notifications.rb:123:in `block in instrument' | |
activesupport (3.2.3) lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
activesupport (3.2.3) lib/active_support/notifications.rb:123:in `instrument' | |
actionpack (3.2.3) lib/action_controller/metal/instrumentation.rb:59:in `redirect_to' | |
actionpack (3.2.3) lib/action_controller/metal/responder.rb:135:in `redirect_to' | |
actionpack (3.2.3) lib/action_controller/metal/responder.rb:193:in `navigation_behavior' | |
actionpack (3.2.3) lib/action_controller/metal/responder.rb:162:in `rescue in to_html' | |
actionpack (3.2.3) lib/action_controller/metal/responder.rb:160:in `to_html' | |
actionpack (3.2.3) lib/action_controller/metal/responder.rb:153:in `respond' | |
actionpack (3.2.3) lib/action_controller/metal/responder.rb:146:in `call' | |
actionpack (3.2.3) lib/action_controller/metal/mime_responds.rb:239:in `respond_with' | |
devise (2.1.2) app/controllers/devise/registrations_controller.rb:27:in `create' | |
actionpack (3.2.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
actionpack (3.2.3) lib/abstract_controller/base.rb:167:in `process_action' | |
actionpack (3.2.3) lib/action_controller/metal/rendering.rb:10:in `process_action' | |
actionpack (3.2.3) lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
activesupport (3.2.3) lib/active_support/callbacks.rb:436:in `_run__1996630897769013545__process_action__1722800455339420408__callbacks' | |
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `__run_callback' | |
activesupport (3.2.3) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' | |
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (3.2.3) lib/abstract_controller/callbacks.rb:17:in `process_action' | |
actionpack (3.2.3) lib/action_controller/metal/rescue.rb:29:in `process_action' | |
actionpack (3.2.3) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' | |
activesupport (3.2.3) lib/active_support/notifications.rb:123:in `block in instrument' | |
activesupport (3.2.3) lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
activesupport (3.2.3) lib/active_support/notifications.rb:123:in `instrument' | |
actionpack (3.2.3) lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
actionpack (3.2.3) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' | |
activerecord (3.2.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action' | |
actionpack (3.2.3) lib/abstract_controller/base.rb:121:in `process' | |
actionpack (3.2.3) lib/abstract_controller/rendering.rb:45:in `process' | |
actionpack (3.2.3) lib/action_controller/metal.rb:203:in `dispatch' | |
actionpack (3.2.3) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
actionpack (3.2.3) lib/action_controller/metal.rb:246:in `block in action' | |
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:73:in `call' | |
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' | |
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:36:in `call' | |
actionpack (3.2.3) lib/action_dispatch/routing/mapper.rb:40:in `call' | |
journey (1.0.4) lib/journey/router.rb:68:in `block in call' | |
journey (1.0.4) lib/journey/router.rb:56:in `each' | |
journey (1.0.4) lib/journey/router.rb:56:in `call' | |
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:600:in `call' | |
sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call' | |
warden (1.2.1) lib/warden/manager.rb:35:in `block in call' | |
warden (1.2.1) lib/warden/manager.rb:34:in `catch' | |
warden (1.2.1) lib/warden/manager.rb:34:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' | |
rack (1.4.1) lib/rack/etag.rb:23:in `call' | |
rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/head.rb:14:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/flash.rb:242:in `call' | |
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' | |
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/cookies.rb:338:in `call' | |
activerecord (3.2.3) lib/active_record/query_cache.rb:64:in `call' | |
activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' | |
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `_run__4216672462859715541__call__2826991841965051177__callbacks' | |
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `__run_callback' | |
activesupport (3.2.3) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' | |
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' | |
railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app' | |
railties (3.2.3) lib/rails/rack/logger.rb:16:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call' | |
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' | |
rack (1.4.1) lib/rack/runtime.rb:17:in `call' | |
activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
rack (1.4.1) lib/rack/lock.rb:15:in `call' | |
actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call' | |
railties (3.2.3) lib/rails/engine.rb:479:in `call' | |
railties (3.2.3) lib/rails/application.rb:220:in `call' | |
rack (1.4.1) lib/rack/content_length.rb:14:in `call' | |
railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call' | |
thin (1.4.1) lib/thin/connection.rb:80:in `block in pre_process' | |
thin (1.4.1) lib/thin/connection.rb:78:in `catch' | |
thin (1.4.1) lib/thin/connection.rb:78:in `pre_process' | |
thin (1.4.1) lib/thin/connection.rb:53:in `process' | |
thin (1.4.1) lib/thin/connection.rb:38:in `receive_data' | |
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' | |
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run' | |
thin (1.4.1) lib/thin/backends/base.rb:63:in `start' | |
thin (1.4.1) lib/thin/server.rb:159:in `start' | |
rack (1.4.1) lib/rack/handler/thin.rb:13:in `run' | |
rack (1.4.1) lib/rack/server.rb:265:in `start' | |
railties (3.2.3) lib/rails/commands/server.rb:70:in `start' | |
railties (3.2.3) lib/rails/commands.rb:55:in `block in <top (required)>' | |
railties (3.2.3) lib/rails/commands.rb:50:in `tap' | |
railties (3.2.3) lib/rails/commands.rb:50:in `<top (required)>' | |
script/rails:6:in `require' | |
script/rails:6:in `<main>' | |
Rendered /Users/cmmagid/.rvm/gems/ruby-1.9.3-p125@rails32/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms) | |
Rendered /Users/cmmagid/.rvm/gems/ruby-1.9.3-p125@rails32/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.7ms) | |
Rendered /Users/cmmagid/.rvm/gems/ruby-1.9.3-p125@rails32/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.4ms) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment