Project
Ruby
Priority
Major
Type
Bug
Fix versions
No Fix versions
State
Open
Assignee
Roman Chernyatchik
Subsystem
Rails. Code Insight
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Ilya Sergey
    2 years ago (13 Apr 2009 04:52)
  • Updated by   Vadim Gurov
    8 months ago (18 May 2011 18:18)
  • Jira: RUBY-3684
    (history, comments)
 
RUBY-3684 Multiple problems with models' fields completion
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
See the attached project (common sample `notebook' from Eugene Toporov's flash walk-through, published on RM site is taken).
Multiple problems, related to model field's completion are occurred (seem to be working in mentioned demo though):

1. File ideas/index.html.rb, line 22
<% simple_format(idea.n[caret], :class => 'note') %>        

Hit Ctrl-Space in place, marked by [caret]. `note' field should be suggested for completion but it isn't. What a pity.

2. Same file, line 19
<span class="title"><%= h idea.t[caret] %></span>

`title' should be suggested

Environment: Mac OS X 10.5.6, Ruby 1.8.6, Rails 2.3.2, DB: sqlite3, RubyMine build 824 (public beta)
Comments (4)
 
History
 
Linked Issues (?)
 
Ilya Sergey
  Ilya Sergey
13 Apr 2009 04:54
2 years ago
Didn't manage to attach a test project, just sent it to you by mail.
Roman Chernyatchik
  Roman Chernyatchik
13 Apr 2009 11:54
2 years ago
3. Actually RM cannot resolve identifier validates_presence_of probably due to Rails 2.3 changes
Roman Chernyatchik
  Roman Chernyatchik
13 Apr 2009 13:34
2 years ago
Problem related to "validates_*" support in Rails 2.3 was moved to RUBY-3684
Roman Chernyatchik
  Roman Chernyatchik
13 Apr 2009 13:36
2 years ago
Misprint in my previous comment. Should be:
Problem related to "validates_*" support in Rails 2.3 was moved to RUBY-3690