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 180995 - missing rails validation code completion
Summary: missing rails validation code completion
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-20 14:16 UTC by yadav
Modified: 2010-02-22 01:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yadav 2010-02-20 14:16:36 UTC
validates_inclusion_of is missing from code completion for rails
Comment 1 yadav 2010-02-20 14:21:56 UTC
there are a few rails validation missing please verify and add the one shown here:

http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html

the one i've noticed that need to be included are:

validates_acceptance_of
validates_each
validates_format_of
validates_inclusion_of
validates_numericality_of
validates_size_of
Comment 2 yadav 2010-02-20 14:46:59 UTC
raising this to level P2
Comment 3 Erno Mononen 2010-02-22 01:06:13 UTC
Thanks for the report. This was fixed a while ago, should work in 6.9 M1 - please reopen if that is not the case for you. Thanks.