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 - Hint for action names that override superclass methods
Summary: Hint for action names that override superclass methods
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 19:23 UTC by misfo
Modified: 2011-01-28 20:10 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.