Forum: Ruby on Rails belongs_to_auto_completer > undefined method `reflect_on_association'

Posted by Tom Tom (tingle)
on 2010-09-02 00:25
(Received via mailing list)
hi, im using

ModelAutoCompleterHelper
(http://model-ac.rubyforge.org/classes/M … elper.html)

and getting the error above.

now its working when i do it direclty in the controller of that model.
eg: books & author > running the code in the books controller/.

where its not working is when i put it eg into a "search"
controller...i tried to pass in a instance variable, but that didnt
help...

any ideas?

thx
Posted by Tom Tom (tingle)
on 2010-09-02 13:03
(Received via mailing list)
anyone? please help me. thx
Posted by Aleksey Gureiev (Guest)
on 2010-09-02 13:13
(Received via mailing list)
Is it just me or no one can see the link fully?

- A
Posted by Tom Tom (tingle)
on 2010-09-02 13:34
(Received via mailing list)
mh, sorry for that. here is the lib i use:


http://model-ac.rubyforge.org/classes/ModelAutoCompleterHelper.html


thx 4 checking!!!
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.