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: <body> 10: <div id="container"> 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 ------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100326/8d5b8fee/attachment-0001.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: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of sagasw Sent: Thursday, March 25, 2010 10:48 PM To: ironruby-core at rubyforge.org 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: <body> 10: <div id="container"> 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 ------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100326/7dd6c544/attachment-0001.html>
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 Borde Sent: Thursday, March 25, 2010 11:31 PM To: ironruby-core at rubyforge.org 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: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of sagasw Sent: Thursday, March 25, 2010 10:48 PM To: ironruby-core at rubyforge.org 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: <body> 10: <div id="container"> 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 ------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100326/e1fd7bfc/attachment-0001.html>