Rails 3.1.3 I am hoping some of you may give me suggestions about user input helper methods. I have a large set of model, Flight, and its fields are airline, flight_name, departure, destination As you can imagine, the flight data will be very large; it could be thousands if it is international. I will ask users to input the desired flight plan, and it will be crucial if the users make mistakes when typing in the forms. So, naturally I need some sort of input helpers. Currently, I am planing on using TwitterBootstrap Typeahead method http://twitter.github.com/bootstrap/javascript.html#typeahead But this requires the data to be ready as soon as the page is ready. In that case, I am very afraid that CPU''s and database processes would be beyond the potential capabilities. Do you think it will work if I put, say, the entire json data ready prior to typing? Or does anyone have any good suggestions for user-friendly input helper methods? Thanks soichi -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Soichi san, There''s a lot more to it than you''re probably aware right now. Look at Lucene and Solr. There''s a library in ruby to integrate with Solr - rsolr. There''s a TermComponent in Solr that goes half way to what you''re trying to do. -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Thanks for your answer.> There''s a lot more to it than you''re probably aware right now.Does this mean in a bad sense? Am I underestimating the functionality requirement?> Look at > Lucene and Solr. There''s a library in ruby to integrate with Solr - > rsolr. There''s a TermComponent in Solr that goes half way to what you''re > trying to do.Thanks. I will take a look. -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.