Hi all. I have an ActiveScaffold administrative interface that about 20 people are using simultaenously. I'm using cookie session store. I also use the exception_notification plugin to send me stacktraces of all unrescued errors in my app. I get the following type of error report about 100 times per day. With the amount of usage, this is a small minority of the usage; however, it's a serious problem.
I've never been able to personally reproduce any of these error on my local computer, or on the server, even if go in and manipulate the same exact records in the ActiveScaffold interface. So it seems to be a very intermittent thing. It appears to me after looking at nested.rb that ActiveScaffold is attempting to make a symbol out of a string variable "association" that doesn't exist. It's as if it's losing track of some session info somehow. I don't believe this results from a session overflow however - as you can see below, the session data is nowhere near the 4k limit. It's difficult to tell what's going on - If anyone can help shed light on this "interning empty string" error, please do! Thanks, Matthew Forsyth Error email below.... A ArgumentError occurred in menu_sections_admin#new: interning empty string [RAILS_ROOT]/vendor/plugins/active_scaffold/lib/actions/nested.rb: 94:in `to_sym' ------------------------------- Request: ------------------------------- * URL : http://www.mysite.com/menu_sections_admin/new?_method=get&eid=c93366ea80dca235828f58868f9ca5d1&nested=true&parent_column=sections&parent_model=Menu&adapter=_list_inline_adapter * IP address: 58.69.221.237 * Parameters: {"parent_column"=>"sections", "eid"=>"c93366ea80dca235828f58868f9ca5d1", "nested"=>"true", "adapter"=>"_list_inline_adapter", "_method"=>"get", "action"=>"new", "controller"=>"menu_sections_admin", "parent_model"=>"Menu"} * Rails root: /home/app/tot_rails/releases/20080905203329 ------------------------------- Session: ------------------------------- * session id: "BAh7EToTc2VhcmNoX3Jlc3VsdHMwIihhczpjMGNkNTNjZGFiNTIyYTU1Nzdk \nYzc4NWMyYWQxYzFmOHsIOglsaXN0ewY6CmxhYmVsIhpNZW51cyBmb3IgUmFq \ndW4gQ2FqdW46EGNvbnN0cmFpbnRzewY6D3Jlc3RhdXJhbnQiCzEzMjQ4MToP \nY29uZGl0aW9uczAiG2FzOm1lbnVfc2VjdGlvbnNfYWRtaW57BjsGewAiKGFz \nOjMwZThlNjc5NTU0YzJmOTQ0OTQ0YjA5ZTAxNDg0ZTEwewg7BnsGOwciJE1l \nbnV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{:list=>{:label=>"Menus for Rajun Cajun"}, :constraints=>{:restaurant=>"132481"}, :conditions=>nil}, "as:menu_sections_admin"=>{:list=>{}}, :search_results=>nil, :search_center=> #<ZipCode zip: "06109", state: "CT", latitude: " 41.702049", longitude: " -72.67470", city: "Wethersfield", full_state: "Connecticut", metro_area_id: 3777370>, "as:30e8e679554c2f944944b09e01484e10"=> {:list=>{:label=>"Menus for Spicy Green Bean Deli"}, :constraints=>{:restaurant=>"105643"}, :conditions=>nil}, "as:00a52055e66bb7d2a06b933ccf766fd7"=> {:list=>{"page"=>1, :label=>"Menu Sections for Lunch-Dinner"}, :constraints=>{:menu=>"5409"}, :conditions=>nil}, "as:c70c2508737ce2054941c4623acc170a"=> {:list=>{:label=>"Menus for Peking Garden"}, :constraints=>{:restaurant=>"105193"}, :conditions=>nil}, :user_id=>62826, "as:restaurants_admin"=>{:list=>{}}, "flash"=>{:notice=>"Welcome back Elisa!"}, "as:5be16790d846a6f097542798745775c2"=> {:list=>{"page"=>1, :label=>"Menu Sections for Lunch-Dinner"}, :constraints=>{:menu=>"5400"}, :conditions=>nil}, "as:c93366ea80dca235828f58868f9ca5d1"=>{:list=>{}}, :csrf_id=>"933bb32719f0c1514bba1fa26c0b63b6"} ------------------------------- Environment: ------------------------------- * CONTENT_LENGTH : 0 * CONTENT_TYPE : application/x-www-form-urlencoded; charset=UTF-8 * GATEWAY_INTERFACE : CGI/1.2 * HTTP_ACCEPT : text/javascript, text/html, application/ xml, text/xml, */* * HTTP_ACCEPT_LANGUAGE : en-us * HTTP_CONNECTION : close * HTTP_CONTENT_LENGTH : 0 * HTTP_CONTENT_TYPE : application/x-www-form-urlencoded; charset=UTF-8 * HTTP_COOKIE : __utma=13133874.3526346151146016300.1219283341.1220656093.1220662742.69; __utmz=13133874.1219994078.44.6.utmcsr=google|utmccn=(organic)| utmcmd=organic|utmctr=geno%20auriemma%27s%20fast%20break%20CT%2006382; __utmb=13133874.4.10.1220662742; __utmc=13133874; _tot_session=BAh7E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WMyewg7BnsH %0AIglwYWdlaQY7ByIjTWVudSBTZWN0aW9ucyBmb3IgTHVuY2gtRGlubmVyOwh7%0ABjsMIgk1NDAwOwowIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFz %0AaDo6Rmxhc2hIYXNoewY6C25vdGljZSIYV2VsY29tZSBiYWNrIEVsaXNhIQY6%0ACkB1c2VkewY7E0Y6DGNzcmZfaWQiJTkzM2JiMzI3MTlmMGMxNTE0YmJhMWZh %0AMjZjMGI2M2I2--37e7585b235d651a0191258170867cb7049bc7ff * HTTP_HOST : www.mysite.com * HTTP_PRAGMA : no-cache * HTTP_REFERER : http://www.mysite.com/restaurants_admin/index/105643 * HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; (R1 1.5)) * HTTP_VERSION : HTTP/1.0 * HTTP_X_FORWARDED_FOR : 58.69.221.237 * HTTP_X_PROTOTYPE_VERSION: 1.6.0.1 * HTTP_X_REAL_IP : 58.69.221.237 * HTTP_X_REQUESTED_WITH : XMLHttpRequest * PATH_INFO : /menu_sections_admin/new * QUERY_STRING : _method=get&eid=c93366ea80dca235828f58868f9ca5d1&nested=true&parent_column=sections&parent_model=Menu&adapter=_list_inline_adapter * REMOTE_ADDR : 127.0.0.1 * REQUEST_METHOD : POST * REQUEST_PATH : /menu_sections_admin/new * REQUEST_URI : /menu_sections_admin/new? _method=get&eid=c93366ea80dca235828f58868f9ca5d1&nested=true&parent_column=sections&parent_model=Menu&adapter=_list_inline_adapter * SCRIPT_NAME : / * SERVER_NAME : www.mysite.com * SERVER_PORT : 80 * SERVER_PROTOCOL : HTTP/1.1 * SERVER_SOFTWARE : Mongrel 1.1.5 * Process: 27384 * Server : tot ------------------------------- Backtrace: ------------------------------- [RAILS_ROOT]/vendor/plugins/active_scaffold/lib/actions/nested.rb: 94:in `to_sym' [RAILS_ROOT]/vendor/plugins/active_scaffold/lib/actions/nested.rb: 94:in `nested_association' [RAILS_ROOT]/vendor/plugins/active_scaffold/lib/actions/nested.rb: 89:in `nested_habtm?' [RAILS_ROOT]/vendor/plugins/active_scaffold/lib/actions/nested.rb: 54:in `include_habtm_actions' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/ callbacks.rb:173:in `send' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/ callbacks.rb:173:in `evaluate_method' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/ callbacks.rb:161:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ filters.rb:430:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ filters.rb:592:in `run_before_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ filters.rb:578:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ filters.rb:573:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ rescue.rb:201:in `perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ caching/sql_cache.rb:13:in `perform_action' /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ connection_adapters/abstract/query_cache.rb:33:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ query_cache.rb:8:in `cache' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ caching/sql_cache.rb:12:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ base.rb:529:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ base.rb:529:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ filters.rb:569:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ session_management.rb:130:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ base.rb:389:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:149:in `handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:107:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:104:in `synchronize' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:104:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:120:in `dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:35:in `dispatch' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `synchronize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb: 282:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb: 281:in `each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb: 281:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb: 212:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
