Skip to content

Instantly share code, notes, and snippets.

@gabeodess
Created September 18, 2012 15:36
Show Gist options
  • Save gabeodess/3743801 to your computer and use it in GitHub Desktop.
Save gabeodess/3743801 to your computer and use it in GitHub Desktop.
Here is the backtrace I am getting. I have not done anything except follow the instruction to setup split at: https://github.com/andrew/split
## View
<%= f.submit ab_test('csn_submit_button', 'Submit', 'Submit!'), data:{disable_with:'...'}, class:'btn btn-primary' %>
## Controller
finished('csn_submit_button') if URI.parse(request.referrer).path == root_path
## Error message
argument out of range
## Backtrace
/Users/gabeodess/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/time.rb in local
self.local(year, mon, day, hour, min, sec, usec)
/Users/gabeodess/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/time.rb in make_time
self.local(year, mon, day, hour, min, sec, usec)
/Users/gabeodess/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/time.rb in parse
make_time(year, d[:mon], d[:mday], d[:hour], d[:min], d[:sec], d[:sec_fraction], d[:zone], now)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/split-0.4.5/lib/split/experiment.rb in start_time
Time.parse(t) if t
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/split-0.4.5/lib/split/dashboard/views/_experiment.erb in evaluate_source
<small><%= experiment.start_time ? experiment.start_time.strftime('%Y-%m-%d') : 'Unknown' %></small>
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in instance_eval
scope.instance_eval(source, eval_file, line - offset)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in evaluate_source
scope.instance_eval(source, eval_file, line - offset)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in cached_evaluate
evaluate_source(scope, locals, &block)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in evaluate
cached_evaluate(scope, locals, &block)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in render
evaluate scope, locals || {}, &block
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in render
output = template.render(scope, locals, &block)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in erb
render :erb, template, options, locals
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/split-0.4.5/lib/split/dashboard/views/index.erb in block in evaluate_source
<%= erb :_experiment, :locals => {:experiment => experiment} %>
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/split-0.4.5/lib/split/dashboard/views/index.erb in each
<% @experiments.each do |experiment| %>
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/split-0.4.5/lib/split/dashboard/views/index.erb in evaluate_source
<% @experiments.each do |experiment| %>
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in instance_eval
scope.instance_eval(source, eval_file, line - offset)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in evaluate_source
scope.instance_eval(source, eval_file, line - offset)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in cached_evaluate
evaluate_source(scope, locals, &block)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in evaluate
cached_evaluate(scope, locals, &block)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/tilt-1.3.3/lib/tilt/template.rb in render
evaluate scope, locals || {}, &block
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in render
output = template.render(scope, locals, &block)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in erb
render :erb, template, options, locals
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/split-0.4.5/lib/split/dashboard.rb in block in <class:Dashboard>
erb :index
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in call
proc { |a,p| unbound_method.bind(a).call } ]
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in compile!
proc { |a,p| unbound_method.bind(a).call } ]
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in []
route_eval { block[*args] }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in block (3 levels) in route!
route_eval { block[*args] }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in route_eval
throw :halt, yield
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in block (2 levels) in route!
route_eval { block[*args] }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in process_route
block ? block[self, values] : yield(self, values)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in catch
catch(:pass) do
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in process_route
catch(:pass) do
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in route!
pass_block = process_route(pattern, keys, conditions) do |*args|
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in each
routes.each do |pattern, keys, conditions, block|
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in route!
routes.each do |pattern, keys, conditions, block|
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in dispatch!
route!
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in call!
invoke { dispatch! }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in invoke
res = catch(:halt) { yield }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in catch
res = catch(:halt) { yield }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in invoke
res = catch(:halt) { yield }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in call!
invoke { dispatch! }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in call
dup.call!(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/auth/basic.rb in call
return @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb in call
app.call env
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb in call
status, headers, body = app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-protection-1.2.0/lib/rack/protection/base.rb in call
result or app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/nulllogger.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/head.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/methodoverride.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/showexceptions.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in call
result, callback = app.call(env), env['async.callback']
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in call
synchronize { prototype.call(env) }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in synchronize
yield
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sinatra-1.3.3/lib/sinatra/base.rb in call
synchronize { prototype.call(env) }
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/journey-1.0.3/lib/journey/router.rb in block in call
status, headers, body = route.app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/journey-1.0.3/lib/journey/router.rb in each
find_routes(env).each do |match, parameters, route|
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/journey-1.0.3/lib/journey/router.rb in call
find_routes(env).each do |match, parameters, route|
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb in call
@router.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/omniauth-1.1.0/lib/omniauth/strategy.rb in call!
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/omniauth-1.1.0/lib/omniauth/strategy.rb in call
dup.call!(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/omniauth-1.1.0/lib/omniauth/builder.rb in call
to_app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/sass-3.1.15/lib/sass/plugin/rack.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/warden-1.1.1/lib/warden/manager.rb in block in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/warden-1.1.1/lib/warden/manager.rb in catch
result = catch(:warden) do
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/warden-1.1.1/lib/warden/manager.rb in call
result = catch(:warden) do
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/best_standards_support.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/etag.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/conditionalget.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/head.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/params_parser.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/flash.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/session/abstract/id.rb in context
status, headers, body = app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/session/abstract/id.rb in call
context(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/cookies.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/activerecord-3.2.1/lib/active_record/query_cache.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/callbacks.rb in block in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/activesupport-3.2.1/lib/active_support/callbacks.rb in _run__810018673512189422__call__2626213606992483835__callbacks
object.send(name, &blk)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/activesupport-3.2.1/lib/active_support/callbacks.rb in __run_callback
object.send(name, &blk)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/activesupport-3.2.1/lib/active_support/callbacks.rb in _run_call_callbacks
self.class.__run_callback(key, :#{symbol}, self, &blk)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/activesupport-3.2.1/lib/active_support/callbacks.rb in run_callbacks
send("_run_#{kind}_callbacks", *args, &block)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/callbacks.rb in call
run_callbacks :call do
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/reloader.rb in call
response = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/remote_ip.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/debug_exceptions.rb in call
response = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/show_exceptions.rb in call
response = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/railties-3.2.1/lib/rails/rack/logger.rb in call_app
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/railties-3.2.1/lib/rails/rack/logger.rb in call
call_app(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/request_id.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/methodoverride.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/runtime.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/activesupport-3.2.1/lib/active_support/cache/strategy/local_cache.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/lock.rb in call
response = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/actionpack-3.2.1/lib/action_dispatch/middleware/static.rb in call
@app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/railties-3.2.1/lib/rails/engine.rb in call
app.call(env.merge!(env_config))
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/railties-3.2.1/lib/rails/application.rb in call
super(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/content_length.rb in call
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/railties-3.2.1/lib/rails/rack/log_tailer.rb in call
response = @app.call(env)
/Users/gabeodess/.rvm/gems/ruby-1.9.2-p318@cityshare/gems/rack-1.4.1/lib/rack/handler/webrick.rb in service
status, headers, body = @app.call(env)
/Users/gabeodess/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/webrick/httpserver.rb in service
si.service(req, res)
/Users/gabeodess/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/webrick/httpserver.rb in run
server.service(req, res)
/Users/gabeodess/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/webrick/server.rb in block in start_thread
block ? block.call(sock) : run(sock)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment