{"issue":{"created_at":"2011-11-30T03:49:33Z","state":"open","updated_at":"2011-11-30T03:49:33Z","comments":0,"user":{"gravatar_id":"1cc3819533402344514d612e1bcfc5c1","id":82214,"url":"https://api.github.com/users/sradu","avatar_url":"https://secure.gravatar.com/avatar/1cc3819533402344514d612e1bcfc5c1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"sradu"},"body":"I'm getting this error when I install the latest high charts version:\r\n\r\n/Work/projectrev/vendor/plugins/lazy_high_charts/lib/lazy_high_charts/railtie.rb:10:in `block in <class:Railtie>': You have a nil object when you didn't expect it! (NoMethodError)\r\nYou might have expected an instance of Array.\r\nThe error occurred while evaluating nil.[]=\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:34:in `call'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:26:in `on_load'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/railtie/configuration.rb:36:in `before_configuration'\r\n\tfrom /Users/radu/Work/projectrev/vendor/plugins/lazy_high_charts/lib/lazy_high_charts/railtie.rb:9:in `<class:Railtie>'\r\n\tfrom /Users/radu/Work/projectrev/vendor/plugins/lazy_high_charts/lib/lazy_high_charts/railtie.rb:8:in `<module:LazyHighCharts>'\r\n\tfrom /Users/radu/Work/projectrev/vendor/plugins/lazy_high_charts/lib/lazy_high_charts/railtie.rb:6:in `<top (required)>'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `block in load_dependency'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in `new_constants_in'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'\r\n\tfrom /Users/radu/Work/projectrev/vendor/plugins/lazy_high_charts/lib/lazy_high_charts.rb:3:in `<top (required)>'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `block in load_dependency'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in `new_constants_in'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'\r\n\tfrom /Users/radu/Work/projectrev/vendor/plugins/lazy_high_charts/init.rb:2:in `block in <class:Plugin>'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/plugin.rb:81:in `eval'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/plugin.rb:81:in `block in <class:Plugin>'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `instance_exec'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `run'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `each'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `run_initializers'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application.rb:96:in `initialize!'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/railtie/configurable.rb:30:in `method_missing'\r\n\tfrom /Users/radu/Work/projectrev/config/environment.rb:5:in `<top (required)>'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `block in load_dependency'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in `new_constants_in'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'\r\n\tfrom /Users/radu/Work/projectrev/config.ru:4:in `block in <main>'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/builder.rb:51:in `instance_eval'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/builder.rb:51:in `initialize'\r\n\tfrom /Users/radu/Work/projectrev/config.ru:1:in `new'\r\n\tfrom /Users/radu/Work/projectrev/config.ru:1:in `<main>'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/builder.rb:40:in `eval'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/builder.rb:40:in `parse_file'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/server.rb:200:in `app'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/commands/server.rb:46:in `app'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/server.rb:301:in `wrapped_app'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/server.rb:252:in `start'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/commands/server.rb:70:in `start'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/commands.rb:54:in `block in <top (required)>'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/commands.rb:49:in `tap'\r\n\tfrom /Users/radu/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/commands.rb:49:in `<top (required)>'\r\n\tfrom script/rails:6:in `require'\r\n\tfrom script/rails:6:in `<main>'","assignee":null,"id":2397164,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":38,"title":"You have a nil object when you didn't expect it! error when trying to load","closed_at":null,"html_url":"https://github.com/michelson/lazy_high_charts/issues/38","url":"https://api.github.com/repos/michelson/lazy_high_charts/issues/38","milestone":null},"action":"opened"}