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

Summary: missing rails validation code completion
Product: ruby Reporter: yadav
Component: RailsAssignee: Erno Mononen <emononen>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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.