tom
2010-Sep-01 22:24 UTC
belongs_to_auto_completer > undefined method `reflect_on_association''
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
tom
2010-Sep-02 11:02 UTC
Re: belongs_to_auto_completer > undefined method `reflect_on_association''
anyone? please help me. thx On Wed, Sep 1, 2010 at 6:24 PM, tom <tomabroad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Aleksey Gureiev
2010-Sep-02 11:12 UTC
Re: belongs_to_auto_completer > undefined method `reflect_on_association''
Is it just me or no one can see the link fully? - A On Sep 2, 2:02 pm, tom <tomabr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> anyone? please help me. thx > > > > On Wed, Sep 1, 2010 at 6:24 PM, tom <tomabr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscrib e@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en.-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
tom
2010-Sep-02 11:32 UTC
Re: Re: belongs_to_auto_completer > undefined method `reflect_on_association''
mh, sorry for that. here is the lib i use: http://model-ac.rubyforge.org/classes/ModelAutoCompleterHelper.html thx 4 checking!!! On Thu, Sep 2, 2010 at 7:12 AM, Aleksey Gureiev <spyromus-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is it just me or no one can see the link fully? > > - A > > On Sep 2, 2:02 pm, tom <tomabr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > anyone? please help me. thx > > > > > > > > On Wed, Sep 1, 2010 at 6:24 PM, tom <tomabr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm > . > > > To unsubscribe from this group, send email to > > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org><rubyonrails-talk%2Bunsubscrib > e@googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.