<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Feb 14, 2007, at 10:43 PM, James Edward Gray II wrote:</DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Feb 14, 2007, at 6:21 PM, John Tsombakos wrote:</DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On 2/14/07, James Edward Gray II <<A href="mailto:james@grayproductions.net">james@grayproductions.net</A>> wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">> Do you have Rails in the vendor directory of your project?<SPAN class="Apple-converted-space">  </SPAN>I always</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">> do and would not be at all surprised if that is required to make the</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">> command pick up on the methods.<SPAN class="Apple-converted-space">  </SPAN>If you don't, try vendering Rails</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">> and see if that helps.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">> James Edward Gray II</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I tried with a project that had Rails in the vendor directory. When I</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">opened a model file, I tried typing 'validate' and hit opt-esc and it</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">could not find any matches.</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">OK.<SPAN class="Apple-converted-space">  </SPAN>We seem to be closing in.<SPAN class="Apple-converted-space">  </SPAN>Let's see if we can keep narrowing it down.<SPAN class="Apple-converted-space">  </SPAN>Here is a new series of steps to try:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1.<SPAN class="Apple-converted-space">  </SPAN>Make a brand new Rails project:<SPAN class="Apple-converted-space">  </SPAN>rails test</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2.<SPAN class="Apple-converted-space">  </SPAN>Edit database.yml so it can hook up to a development database.<SPAN class="Apple-converted-space">  </SPAN>I just used sqlite3.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">3.<SPAN class="Apple-converted-space">  </SPAN>ruby script/generate model just_one</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">4.<SPAN class="Apple-converted-space">  </SPAN>Open then new model file and put the caret in the class definition</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">5.<SPAN class="Apple-converted-space">  </SPAN>Type val (or validate if you prefer, I checked both) and trigger rcodetools completion</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Note that I *did not* have Rails vendored here and this worked just fine.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Does this much work for you?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">James Edward Gray II</DIV></BLOCKQUOTE></DIV><BR><DIV>Woah!</DIV><DIV>That actually works.</DIV><DIV>I never would have thought this thing would be able to handle rails like this.</DIV><DIV>Pure Awesomeness!</DIV><DIV><BR><DIV>thomas Aylott — <B>subtleGradient </B>— CrazyEgg — sixteenColors</DIV></DIV></BODY></HTML>