This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 116741

Summary: Hint for action names that override superclass methods
Product: ruby Reporter: misfo <misfo>
Component: EditingAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description misfo 2007-09-25 19:23:21 UTC
It would be a huge time-saver if NetBeans could detect when a method the user writes in an ActionController class will actually override a method of a 
superclass instead of creating a new ActionController action.

The errors Rails throws when an method is mistakenly overridden are very cryptic.  For instance, if one tries to name an action 'send', visiting the expected url 
for that action gives a "Wrong number of arguments" error with nothing in the stack trace that is useful for figuring the problem out.