| View previous topic :: View next topic |
| Author |
Message |
brocoli
Joined: 25 Aug 2008 Posts: 2
|
Posted: Mon Aug 25, 2008 7:59 pm Post subject: autocompletion incomplete ? |
|
|
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 |
|
 |
Chris Kutler Posted via mailing list.
|
Posted: Mon Aug 25, 2008 8:30 pm Post subject: autocompletion incomplete ? |
|
|
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
|
Posted: Tue Aug 26, 2008 6:41 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|
|
|