Question about test ironruby for rails

Hi,

I just follow the steps with this video

http://www.teachmetocode.com/screencasts/6

And has install rails sqlite3-ironruby nifty-generators successfully.

I generate a “Welcome” controller, and in routes.rb, change it like:
map.root :controller => “welcome”

After I run “ir script/generate nifty_authentication”, it will generate
login signup functions.
And I run irake db:migrate too.

Now, I run “ir script/server” and could see
http://127.0.0.1:3000/signup”,
When I fill everything and click submit button, this error popup,

who could tell me, how could I fix this issue?

I use ironruby 1.0RC4.

Thanks,

sagasw


Action Controller: Exception caughtSystem::NotSupportedException in
Welcome#index

Showing app/views/layouts/application.html.erb where line #12
raised:

Class System::Int64 does not have a valid constructor

Extracted source (around line #12):

9:
10:


11: <%- flash.each do |name, msg| -%>
12: <%= content_tag :div, msg, :id => “flash_#{name}” %>
13: <%- end -%>
14:
15: <%- if show_title? -%>

RAILS_ROOT: E:/mytwitter
Application Trace <#> | Framework Trace <#> | Full Trace <#>

IronRuby.Libraries:0:in ReadObject' IronRuby.Libraries:0:inReadAnObject’
IronRuby.Libraries:0:in ReadHash' IronRuby.Libraries:0:inReadAnObject’
IronRuby.Libraries:0:in Load' E:2:insend
E:2:in flash' E:/mytwitter/app/views/layouts/application.html.erb:12:in_run_erb_app47views47layouts47application46html46erb’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
load' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:inverify’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:156:in
unmarshal' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:145:inload_session’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
send' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:inload!’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:70:in
stale_session_check!' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:61:inload!’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:28:in
[]' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:163:inflash’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
__send__' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in
with_template' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in
render_template' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:352:in
_render_with_layout' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in
render_for_file' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render_with_benchmark' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:inms’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
realtime' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:inms’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render_with_benchmark' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:indefault_render’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in
perform_action' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:incall_filters’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
perform_action_with_filters' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:inperform_action_with_benchmark’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:inrealtime’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:inperform_action_with_benchmark’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
perform_action_with_rescue' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:inperform_action_with_flash’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
send' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:inprocess’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
process_with_filters' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:inprocess’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in
dispatch' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in_call’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in
build_middleware_stack' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in[]’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:incache’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
cache' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
synchronize' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:inrun’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:44:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:ineach’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:inservice’
E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:104:in service' E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:65:inrun’
E:/IronRuby1.0/lib/ruby/1.8/webrick/server.rb:173:in `start_thread’

IronRuby.Libraries:0:in ReadObject' IronRuby.Libraries:0:inReadAnObject’
IronRuby.Libraries:0:in ReadHash' IronRuby.Libraries:0:inReadAnObject’
IronRuby.Libraries:0:in Load' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:inload’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
verify' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:156:inunmarshal’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:145:in
load_session' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:insend’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
load!' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:70:instale_session_check!’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:61:in
load!' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:28:in[]’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:163:in
flash' E:2:insend
E:2:in flash' E:/mytwitter/app/views/layouts/application.html.erb:12:in_run_erb_app47views47layouts47application46html46erb’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
__send__' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in
with_template' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in
render_template' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:352:in
_render_with_layout' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in
render_for_file' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:inrender’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render_with_benchmark' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:inms’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
realtime' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:inms’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render_with_benchmark' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:indefault_render’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in
perform_action' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:incall_filters’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
perform_action_with_filters' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:inperform_action_with_benchmark’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:inrealtime’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:inperform_action_with_benchmark’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
perform_action_with_rescue' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:inperform_action_with_flash’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
send' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:inprocess’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
process_with_filters' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:inprocess’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in
dispatch' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in_call’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in
build_middleware_stack' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in[]’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:incache’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
cache' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
synchronize' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:inrun’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:44:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:ineach’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:incall’
E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
call' E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:inservice’
E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:104:in service' E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:65:inrun’
E:/IronRuby1.0/lib/ruby/1.8/webrick/server.rb:173:in start_thread' IronRuby.Libraries:0:inRubyThreadStart’
IronRuby.Libraries:0:in b__0' mscorlib:0:inThreadStart_Context’
mscorlib:0:in Run' mscorlib:0:inThreadStart’

Request

Parameters:

None

Show session dump <#>


Response

Headers:

{“Cache-Control”=>“no-cache”,
“Content-Type”=>“text/html”}

Marshal currently does not deal properly with Int64. Dumping both 1 and
2 results in the same result which is obviously incorrect. Marshal.load
then blows up if called on the result of Marshal.dump.

Marshal.dump(System::Int64.new(1))
=> “\004\bo:\022System::Int64\000”

Marshal.dump(System::Int64.new(2))
=> “\004\bo:\022System::Int64\000”

We could (and should) fix Marshal so that it deals with Int64 properly.
However, I wonder where the Int64 comes from. In pure Ruby code, there
should be no occurrence of Int64 as no Ruby type maps to Int64 (Fixnum
does map to Int32). Could you add the following code to
config\environment.rb? This should raise an exception when the app tries
to dump an Int64. The resulting stack trace might provide some clue as
to who is generating an Int64.

module Marshal
class << self
alias :old_dump :dump
def dump(o)
raise “dumping Int64 : #{o}” if o.kind_of? System::Int64
old_dump(o)
end
end
end

From: [email protected]
[mailto:[email protected]] On Behalf Of sagasw
Sent: Thursday, March 25, 2010 10:48 PM
To: [email protected]
Subject: [Ironruby-core] Question about test ironruby for rails

Hi,

I just follow the steps with this video

http://www.teachmetocode.com/screencasts/6

And has install rails sqlite3-ironruby nifty-generators successfully.

I generate a “Welcome” controller, and in routes.rb, change it like:
map.root :controller => “welcome”

After I run “ir script/generate nifty_authentication”, it will generate
login signup functions.
And I run irake db:migrate too.

Now, I run “ir script/server” and could see
http://127.0.0.1:3000/signup”,
When I fill everything and click submit button, this error popup,

who could tell me, how could I fix this issue?

I use ironruby 1.0RC4.

Thanks,

sagasw


System::NotSupportedException in Welcome#index

Showing app/views/layouts/application.html.erb where line #12 raised:

Class System::Int64 does not have a valid constructor

Extracted source (around line #12):

9:

10:

11: <%- flash.each do |name, msg| -%>

12: <%= content_tag :div, msg, :id => “flash_#{name}” %>

13: <%- end -%>

14:

15: <%- if show_title? -%>

RAILS_ROOT: E:/mytwitter
Application Trace | Framework Trace | Full Trace

IronRuby.Libraries:0:in `ReadObject’

IronRuby.Libraries:0:in `ReadAnObject’

IronRuby.Libraries:0:in `ReadHash’

IronRuby.Libraries:0:in `ReadAnObject’

IronRuby.Libraries:0:in `Load’

E:2:in `send

E:2:in `flash’

E:/mytwitter/app/views/layouts/application.html.erb:12:in
`_run_erb_app47views47layouts47application46html46erb’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
`load’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
`verify’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:156:in
`unmarshal’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:145:in
`load_session’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
`send’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
`load!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:70:in
`stale_session_check!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:61:in
`load!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:28:in
`[]’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:163:in
`flash’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
`send

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in
`with_template’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in
`render_template’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:352:in
`_render_with_layout’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in
`render_for_file’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
`realtime’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:in
`default_render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in
`perform_action’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in
`call_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
`perform_action_with_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
`realtime’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
`perform_action_with_rescue’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in
`perform_action_with_flash’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`send’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`process’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
`process_with_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in
`process’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in
`dispatch’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in
`_call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in
`build_middleware_stack’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
`[]’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
`cache’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`synchronize’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in
`run’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:44:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`each’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in
`service’

E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:104:in `service’

E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:65:in `run’

E:/IronRuby1.0/lib/ruby/1.8/webrick/server.rb:173:in `start_thread’

IronRuby.Libraries:0:in `ReadObject’

IronRuby.Libraries:0:in `ReadAnObject’

IronRuby.Libraries:0:in `ReadHash’

IronRuby.Libraries:0:in `ReadAnObject’

IronRuby.Libraries:0:in `Load’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
`load’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
`verify’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:156:in
`unmarshal’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:145:in
`load_session’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
`send’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
`load!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:70:in
`stale_session_check!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:61:in
`load!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:28:in
`[]’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:163:in
`flash’

E:2:in `send

E:2:in `flash’

E:/mytwitter/app/views/layouts/application.html.erb:12:in
`_run_erb_app47views47layouts47application46html46erb’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
`send

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in
`with_template’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in
`render_template’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:352:in
`_render_with_layout’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in
`render_for_file’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
`realtime’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:in
`default_render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in
`perform_action’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in
`call_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
`perform_action_with_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
`realtime’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
`perform_action_with_rescue’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in
`perform_action_with_flash’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`send’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`process’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
`process_with_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in
`process’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in
`dispatch’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in
`_call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in
`build_middleware_stack’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
`[]’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
`cache’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`synchronize’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in
`run’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:44:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`each’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in
`service’

E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:104:in `service’

E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:65:in `run’

E:/IronRuby1.0/lib/ruby/1.8/webrick/server.rb:173:in `start_thread’

IronRuby.Libraries:0:in `RubyThreadStart’

IronRuby.Libraries:0:in `b__0’

mscorlib:0:in `ThreadStart_Context’

mscorlib:0:in `Run’

mscorlib:0:in `ThreadStart’

Request

Parameters:

None

Show session dump


Response

Headers:

{“Cache-Control”=>“no-cache”,

“Content-Type”=>“text/html”}


C++, Lua, living in Dalian
http://sunxiunan.com/
http://twitter.com/sagasw

One possibility is that sqlite3-ironruby maps large integer values to
Int64 instead of to BigInteger…

Also, it looks like Marshal.dump does not deal with .NET types in
general. System::DateTime is dumped similarly to Int64 with only the
name of the type in the result, but no data. For serializable types, we
should include the .NET serialization representation within the dump
representation. For non-serializable types, we should throw an exception
instead of just writing out the type name…

Marshal.dump(System::DateTime.now)
=> “\004\bo:\025System::DateTime\000”

From: Shri B.
Sent: Thursday, March 25, 2010 11:31 PM
To: [email protected]
Subject: RE: [Ironruby-core] Question about test ironruby for rails

Marshal currently does not deal properly with Int64. Dumping both 1 and
2 results in the same result which is obviously incorrect. Marshal.load
then blows up if called on the result of Marshal.dump.

Marshal.dump(System::Int64.new(1))
=> “\004\bo:\022System::Int64\000”

Marshal.dump(System::Int64.new(2))
=> “\004\bo:\022System::Int64\000”

We could (and should) fix Marshal so that it deals with Int64 properly.
However, I wonder where the Int64 comes from. In pure Ruby code, there
should be no occurrence of Int64 as no Ruby type maps to Int64 (Fixnum
does map to Int32). Could you add the following code to
config\environment.rb? This should raise an exception when the app tries
to dump an Int64. The resulting stack trace might provide some clue as
to who is generating an Int64.

module Marshal
class << self
alias :old_dump :dump
def dump(o)
raise “dumping Int64 : #{o}” if o.kind_of? System::Int64
old_dump(o)
end
end
end

From: [email protected]
[mailto:[email protected]] On Behalf Of sagasw
Sent: Thursday, March 25, 2010 10:48 PM
To: [email protected]
Subject: [Ironruby-core] Question about test ironruby for rails

Hi,

I just follow the steps with this video

http://www.teachmetocode.com/screencasts/6

And has install rails sqlite3-ironruby nifty-generators successfully.

I generate a “Welcome” controller, and in routes.rb, change it like:
map.root :controller => “welcome”

After I run “ir script/generate nifty_authentication”, it will generate
login signup functions.
And I run irake db:migrate too.

Now, I run “ir script/server” and could see
http://127.0.0.1:3000/signup”,
When I fill everything and click submit button, this error popup,

who could tell me, how could I fix this issue?

I use ironruby 1.0RC4.

Thanks,

sagasw


System::NotSupportedException in Welcome#index

Showing app/views/layouts/application.html.erb where line #12 raised:

Class System::Int64 does not have a valid constructor

Extracted source (around line #12):

9:

10:

11: <%- flash.each do |name, msg| -%>

12: <%= content_tag :div, msg, :id => “flash_#{name}” %>

13: <%- end -%>

14:

15: <%- if show_title? -%>

RAILS_ROOT: E:/mytwitter
Application Trace | Framework Trace | Full Trace

IronRuby.Libraries:0:in `ReadObject’

IronRuby.Libraries:0:in `ReadAnObject’

IronRuby.Libraries:0:in `ReadHash’

IronRuby.Libraries:0:in `ReadAnObject’

IronRuby.Libraries:0:in `Load’

E:2:in `send

E:2:in `flash’

E:/mytwitter/app/views/layouts/application.html.erb:12:in
`_run_erb_app47views47layouts47application46html46erb’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
`load’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
`verify’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:156:in
`unmarshal’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:145:in
`load_session’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
`send’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
`load!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:70:in
`stale_session_check!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:61:in
`load!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:28:in
`[]’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:163:in
`flash’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
`send

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in
`with_template’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in
`render_template’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:352:in
`_render_with_layout’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in
`render_for_file’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
`realtime’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:in
`default_render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in
`perform_action’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in
`call_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
`perform_action_with_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
`realtime’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
`perform_action_with_rescue’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in
`perform_action_with_flash’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`send’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`process’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
`process_with_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in
`process’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in
`dispatch’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in
`_call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in
`build_middleware_stack’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
`[]’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
`cache’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`synchronize’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in
`run’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:44:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`each’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in
`service’

E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:104:in `service’

E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:65:in `run’

E:/IronRuby1.0/lib/ruby/1.8/webrick/server.rb:173:in `start_thread’

IronRuby.Libraries:0:in `ReadObject’

IronRuby.Libraries:0:in `ReadAnObject’

IronRuby.Libraries:0:in `ReadHash’

IronRuby.Libraries:0:in `ReadAnObject’

IronRuby.Libraries:0:in `Load’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
`load’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/message_verifier.rb:31:in
`verify’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:156:in
`unmarshal’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:145:in
`load_session’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
`send’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:62:in
`load!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:70:in
`stale_session_check!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:61:in
`load!’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb:28:in
`[]’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:163:in
`flash’

E:2:in `send

E:2:in `flash’

E:/mytwitter/app/views/layouts/application.html.erb:12:in
`_run_erb_app47views47layouts47application46html46erb’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
`send

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in
`with_template’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in
`render_template’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:352:in
`_render_with_layout’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in
`render_for_file’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:in
`render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
`realtime’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:in
`default_render’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in
`perform_action’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in
`call_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
`perform_action_with_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
`realtime’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
`ms’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
`perform_action_with_rescue’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in
`perform_action_with_flash’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`send’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`process’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
`process_with_filters’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in
`process’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in
`dispatch’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in
`_call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in
`build_middleware_stack’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
`[]’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
`cache’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`synchronize’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in
`run’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:44:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`each’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
`call’

E:/IronRuby1.0/lib/ironruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in
`service’

E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:104:in `service’

E:/IronRuby1.0/lib/ruby/1.8/webrick/httpserver.rb:65:in `run’

E:/IronRuby1.0/lib/ruby/1.8/webrick/server.rb:173:in `start_thread’

IronRuby.Libraries:0:in `RubyThreadStart’

IronRuby.Libraries:0:in `b__0’

mscorlib:0:in `ThreadStart_Context’

mscorlib:0:in `Run’

mscorlib:0:in `ThreadStart’

Request

Parameters:

None

Show session dump


Response

Headers:

{“Cache-Control”=>“no-cache”,

“Content-Type”=>“text/html”}


C++, Lua, living in Dalian
http://sunxiunan.com/
http://twitter.com/sagasw

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs