belongs_to_auto_completer > undefined method `reflect_on_association'

16 views
Skip to first unread message

tom

unread,
Sep 1, 2010, 6:24:26 PM9/1/10
to Ruby on Rails: Talk


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

tom

unread,
Sep 2, 2010, 7:02:39 AM9/2/10
to Ruby on Rails: Talk
anyone? please help me. thx


On Wed, Sep 1, 2010 at 6:24 PM, tom <toma...@gmail.com> wrote:


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

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Aleksey Gureiev

unread,
Sep 2, 2010, 7:12:04 AM9/2/10
to Ruby on Rails: Talk
Is it just me or no one can see the link fully?

- A

On Sep 2, 2:02 pm, tom <tomabr...@gmail.com> wrote:
> anyone? please help me. thx
>
>
>
> On Wed, Sep 1, 2010 at 6:24 PM, tom <tomabr...@gmail.com> wrote:
>
> > 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
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ruby on Rails: Talk" group.
> > To post to this group, send email to rubyonra...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > rubyonrails-ta...@googlegroups.com<rubyonrails-talk%2Bunsubscrib e...@googlegroups.com>
> > .

tom

unread,
Sep 2, 2010, 7:32:47 AM9/2/10
to rubyonra...@googlegroups.com
mh, sorry for that. here is the lib i use:


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


thx 4 checking!!!



To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages