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 138367 - Code templates typo for 'vpif'
Summary: Code templates typo for 'vpif'
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-26 14:16 UTC by polan
Modified: 2008-06-26 17:45 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 polan 2008-06-26 14:16:18 UTC
[Build 200806260103, JDK 1.6.0]

The code template for language Ruby, abb. 'vpif' is:

  validates_presence_of :${1 default="attribute"}, :if => proc { |obj| ${5 default="obj.condition?"} }}

, which is invalid code. The last curly bracket is probably a typo.
Comment 1 Torbjorn Norbye 2008-06-26 17:45:53 UTC
Thanks! Fixed in changeset 6e06773d723a.