FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

autocompletion incomplete ?

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
brocoli



Joined: 25 Aug 2008
Posts: 2

PostPosted: Mon Aug 25, 2008 7:59 pm    Post subject: autocompletion incomplete ? Reply with quote

Hello,

Say "order" is an instance of a class model (class Order < ActiveRecord::Base).

I want to get "order.count" with autocompletion but the completion give me only the methods from ActiveRecord::Base.

I would expect the methods from ActiveRecord::Calculations too...

Thanks,
brocoli.
Back to top
View user's profile Send private message
Chris Kutler
Posted via mailing list.





PostPosted: Mon Aug 25, 2008 8:30 pm    Post subject: autocompletion incomplete ? Reply with quote

brocoli

Try doing the Rake task db:schema:dump

If that works, let me know.

brocoli wrote:
Quote:
Hello,



Say "order" is an instance of a class model (class Order < ActiveRecord::Base).



I want to get "order.count" with autocompletion but the completion give me only the methods from ActiveRecord::Base.



I would expect the methods from ActiveRecord::Calculations too...



Thanks,

brocoli.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
brocoli



Joined: 25 Aug 2008
Posts: 2

PostPosted: Tue Aug 26, 2008 6:41 am    Post subject: Reply with quote

Hi Chris,

Thanks for your answer, but it doesn't work.

I think, it is independent of my project since just doing:

"ActiveRecord::" then ask for completion; netbeans doesn't propose the module Calculations (and many others modules included in Base are missing...)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB