[Rails] Re: simple_autocomplete and find: same inputs but diff order

2009-02-03 Thread Thomas R. Koll
Hi, I dare to ask but is the data the same in dev and prod? A second thing, there's a bit difference between merge and merge! please try without the ! And last but not least: I think these two lines are wrong, but I'm not sure what should be used for the if statement find_method =

[Rails] Re: simple_autocomplete and find: same inputs but diff order

2009-02-02 Thread Thomas R. Koll
Hi, could you post the relevant code where you change the behaviour of the find and :order ? cioa, tom On Feb 2, 2:27 am, Arthur Chan rails-mailing-l...@andreas-s.net wrote: However, I modified the :order parameters of the find function in the plugin so that San Francisco, US will always

[Rails] Re: simple_autocomplete and find: same inputs but diff order

2009-02-02 Thread Arthur Chan
Thomas r. Koll wrote: Hi, could you post the relevant code where you change the behaviour of the find and :order ? cioa, tom Hi Tom, I modified the autocomplete_for function in autocomplete.rb code # arthur: override the find_order options find_options = {

[Rails] Re: simple_autocomplete and find: same inputs but diff order

2009-02-02 Thread Arthur Chan
More info for the problem: The plugins runs fine in development mode but production mode only! Thanks, Arthur -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on