[Rails] text_field_with_auto_complete without a model

2010-02-09 Thread dino d.
hi- is this possible? basically, i have a simple search text box whose contents i want to send to my server to suggest a query. that suggested query will be in turn retrieved from a 3rd party API. I cannot figure out for the life of me how to use text_field_with_auto_complete without a model.

[Rails] text_field_with_auto_complete question

2009-09-30 Thread Me
This code below will display Search Friends in the text box IF {:select = 'friend'} is not there and the ajax call also does not work. Any ideas how to get the text and to disaply and have the ajax call work? %= text_field_with_auto_complete :friend, :name,{:select = 'friend'}, :value = Search

[Rails] text_field_with_auto_complete passing parameters

2009-09-23 Thread Mark Mr
Hi, I've run into a problem with text_field_with_auto_complete because I can't figure out how to just pass a parameter into the method. For example, here's what i want to try and do: %= text_field_with_auto_complete :profile, :lastname, :conference_id = @conf % And in the method I'm doing this:

[Rails] text_field_with_auto_complete

2009-08-21 Thread Pete Moran
I feel I'm on a constant Yak Shave (http://projects.csail.mit.edu/gsb/old-archive/gsb-archive/gsb2000-02-11.html) I am playing with Auto Complete's, due to some excellent tutorials on railscast.com I have been making progress although hit a small stumbling block which hope you can solve. So I

[Rails] text_field_with_auto_complete with regular expression

2009-07-12 Thread Michael
I'm using text_field_with_auto_complete to index the keywords of something.I created a 'resource' model,and it has a 'keywords' column. in the resource controller: auto_complete_for :resource,:keywords and in the view: %= text_field_with_auto_complete :resource, :keywords, {:onfocus =

[Rails] text_field_with_auto_complete with regular expression

2009-07-11 Thread 刘子嘉
I'm using text_field_with_auto_complete to index the keywords of something.I created a 'resource' model,and it has a 'keywords' column. in the resource controller: auto_complete_for :resource,:keywords and in the view: %= text_field_with_auto_complete :resource, :keywords, {:onfocus =

[Rails] text_field_with_auto_complete

2009-07-10 Thread Shandy Nantz
I need to pass a parameter in my text_field_with_auto_complete and am struggling to discover how to do this. I have something like this: %= text_field_with_auto_complete 'user', 'username', {}, {:with = 'post='@company_title.id} % but because it is in a partial that pops as a result from a

[Rails] text_field_with_auto_complete and Chrome

2009-01-05 Thread Shandy Nantz
My auto complete field does not work in Chrome and just wondering if anyone else has had this issue and have you gotten it fixed? My view code: bType in closest home airport: /b %= text_field_with_auto_complete :airport, :city, {:value = @airport.city + [ + @airport.code + ], :class =

[Rails] text_field_with_auto_complete and Safari browsers

2008-12-16 Thread Shandy Nantz
I have a text field with auto complete that allows a user to choose a name from the list and when that name is selected that name is taken out of the list of available username to select from. Today I got notification that someone using my app uses Safari and the described functionality doesn't

[Rails] text_field_with_auto_complete

2008-11-21 Thread Palani Kumar
Hi, I have text_field_with_auto_complete , The problem i faced here is when type the text like firstnamelastname.When i get value of text field in controller i only get the firstname. i couldn't get text value after '' symbol. i guess the symbol is the problem here. but i need to use the