public
Created

  • Download Gist
config_routes.rb
Ruby
1 2 3
# TODO: extracted from uuidtools
UUID_REGEX = /^([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{2})([0-9a-f]{2})-([0-9a-f]{12})$/
resources :checkout, :only => [:show, :create], :constraints => { :id => UUID_REGEX }
error_stacktrace.log
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
rspec spec/controllers/checkout_controller_spec.rb
Rack::File headers parameter replaces cache_control after Rack 1.5.
/Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:85:in `block in normalize_options!': Regexp anchor characters are not allowed in routing requirements: /^([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{2})([0-9a-f]{2})-([0-9a-f]{12})$/ (ArgumentError)
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:80:in `each'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:80:in `normalize_options!'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:61:in `initialize'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1304:in `new'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1304:in `add_route'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1284:in `decomposed_match'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1270:in `block in match'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1270:in `each'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1270:in `match'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:507:in `map_method'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:469:in `get'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1143:in `block (2 levels) in resources'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1194:in `block (2 levels) in member'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:624:in `scope'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1193:in `block in member'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1393:in `with_scope_level'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1192:in `member'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1141:in `block in resources'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1402:in `block (2 levels) in resource_scope'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:624:in `scope'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1401:in `block in resource_scope'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1393:in `with_scope_level'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1400:in `resource_scope'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1129:in `resources'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1345:in `block in apply_common_behavior_for'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:624:in `scope'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1344:in `apply_common_behavior_for'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:1125:in `resources'
from /Users/deepak/Developer/NewMilaap/milaap-webapp/config/routes.rb:14:in `block in <top (required)>'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:282:in `instance_exec'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:282:in `eval_block'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:260:in `draw'
from /Users/deepak/Developer/NewMilaap/milaap-webapp/config/routes.rb:1:in `<top (required)>'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `load'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `block in load'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `load'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb:40:in `each'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb:40:in `load_paths'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb:16:in `reload!'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/application.rb:108:in `reload_routes!'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activeadmin-0.5.1/lib/active_admin/reloader.rb:34:in `reload!'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activeadmin-0.5.1/lib/active_admin/reloader.rb:61:in `block in attach!'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:429:in `_run__4551569523496701719__prepare__4026475767009548696__callbacks'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `__run_callback'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in `run_callbacks'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:74:in `prepare!'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:48:in `prepare!'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/application/finisher.rb:47:in `block in <module:Finisher>'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `run'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `each'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/application.rb:136:in `initialize!'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/deepak/Developer/NewMilaap/milaap-webapp/config/environment.rb:5:in `<top (required)>'
from /Users/deepak/Developer/NewMilaap/milaap-webapp/spec/spec_helper.rb:36:in `require'
from /Users/deepak/Developer/NewMilaap/milaap-webapp/spec/spec_helper.rb:36:in `<top (required)>'
from /Users/deepak/Developer/NewMilaap/milaap-webapp/spec/controllers/checkout_controller_spec.rb:1:in `require'
from /Users/deepak/Developer/NewMilaap/milaap-webapp/spec/controllers/checkout_controller_spec.rb:1:in `<top (required)>'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/rspec-core-2.12.2/lib/rspec/core/configuration.rb:789:in `load'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/rspec-core-2.12.2/lib/rspec/core/configuration.rb:789:in `block in load_spec_files'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/rspec-core-2.12.2/lib/rspec/core/configuration.rb:789:in `each'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/rspec-core-2.12.2/lib/rspec/core/configuration.rb:789:in `load_spec_files'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:22:in `run'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:80:in `run'
from /Users/deepak/.rvm/gems/ruby-1.9.3-p327@milaap-webapp/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:17:in `block in autorun'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.