custom_resource_name icon indicating copy to clipboard operation
custom_resource_name copied to clipboard

doesn't work with rails 2.3

Open brodock opened this issue 14 years ago • 0 comments

It fails while trying to load a resource route:

=> Rails 2.3.3 application starting on http://0.0.0.0:3000 /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/action_controller/resources.rb:157:in action_allowed?': You have a nil object when you didn't expect it! (NoMethodError) You might have expected an instance of Array. The error occurred while evaluating nil.values_at from /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/action_controller/resources.rb:122:inhas_action?' from /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/action_controller/resources.rb:645:in map_resource_routes' from /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/action_controller/resources.rb:602:inmap_default_collection_actions' from .../vendor/plugins/custom_resource_name/lib/custom_resource_name.rb:79:in map_resource' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/core_ext/object/misc.rb:78:inwith_options' from .../vendor/plugins/custom_resource_name/lib/custom_resource_name.rb:77:in map_resource' from /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/action_controller/resources.rb:446:inresources' from /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/action_controller/resources.rb:446:in each' from /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/action_controller/resources.rb:446:inresources'

brodock avatar Aug 10 '09 02:08 brodock