views:

29

answers:

0

I am attempting to follow this tutorial: http://vimeo.com/6459254

I am using IronRuby and get to the point that I create a user in the system. Now all pages fail with the following error when trying to render the page:

Class System::Int64 does not have a valid constructor

Any other IronRuby folks hit this issue and figured out a work around?

And here is the stack trace:

IronRuby.Libraries:0:in ReadObject' IronRuby.Libraries:0:inReadAnObject' IronRuby.Libraries:0:in ReadHash' IronRuby.Libraries:0:inReadAnObject' IronRuby.Libraries:0:in Load' c:/IronRuby/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in load' c:/IronRuby/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in verify' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:156:in unmarshal' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:145:in load_session' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in send' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in load!' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:70:in stale_session_check!' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:61:in load!' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:28:in []' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:163:in flash' c:2:insend' c:2:in flash' D:/Dev/Personal/flitter/app/views/layouts/application.html.erb:12:in _run_erb_app47views47layouts47application46html46erb' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in send' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in render' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in with_template' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in render' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in render_template' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in render' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:352:in _render_with_layout' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in render' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in render_for_file' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:in render' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in render_with_benchmark' c:/IronRuby/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' c:/IronRuby/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in realtime' c:/IronRuby/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in render_with_benchmark' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:in default_render' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in perform_action' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in call_filters' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in perform_action_with_filters' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in perform_action_with_benchmark' c:/IronRuby/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' c:/IronRuby/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in realtime' c:/IronRuby/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in perform_action_with_benchmark' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in perform_action_with_rescue' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in perform_action_with_flash' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in __send__' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in process' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in process_with_filters' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in process' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in dispatch' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in _call' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in build_middleware_stack' c:/IronRuby/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in []' c:/IronRuby/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in cache' c:/IronRuby/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in cache' c:/IronRuby/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:incall' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in synchronize' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in run' c:/IronRuby/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:44:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in each' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:incall' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in call' c:/IronRuby/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in service' c:/IronRuby/lib/ruby/1.8/webrick/httpserver.rb:104:in service' c:/IronRuby/lib/ruby/1.8/webrick/httpserver.rb:65:in run' c:/IronRuby/lib/ruby/1.8/webrick/server.rb:173:in start_thread' IronRuby.Libraries:0:in RubyThreadStart' IronRuby.Libraries:0:in b__0' mscorlib:0:inThreadStart_Context' mscorlib:0:in Run' mscorlib:0:in Run' mscorlib:0:in `ThreadStart'