Displaying 20 results from an estimated 400 matches similar to: "text_field_with_auto_complete"
2006 Jun 02
2
pass extra value through text_field_with_auto_complete?
Hi,
I''m wondering if it is possible to pass an extra value (which I will
use to further restrict my query) using text_field_with_auto_complete?
Any suggestions would be appreciated!
-Mike
2006 Apr 07
5
RJS support "toggle" effect?
Does RJS inherently support the Element.toggle effect? I haven''t been
able to call it the way you call "appear", "fade", etc...
Jeff
--
Posted via http://www.ruby-forum.com/.
2006 May 26
8
What is the different between Scaffold / Controller / Model
Hi everyone
I am learning RoR now and got a question.
What is the different between using ruby script/generate <Table>
Scaffold / Controller / Model?
Thank you
Victor
--
Posted via http://www.ruby-forum.com/.
2006 May 25
8
Looking for AOL, MSN, Yahoo "Rails Buddies"
I''m an independent software developer that spends a fair amount of time each
day working on Rails-related project. t''d be really great to meet some
people to chat about rails, software development, or whatever else geeky
stuff via IM!
If interested, shoot me an e-mail or reply here. Personally, I''m a little
apprehensive about putting all my info out there on a list
2006 Jun 26
1
RJS visual_effect toggle?
Is there a way to toggle an effect in an RJS? If not, anyone have
recommendations for how to manually make it toggle? I guess I would
assume some boolean that the rjs checks everytime it''s called and
depending on whether it''s true or false it will do page.visual_effect
:appear or page.visual_effect :hide
-Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2009 Jul 10
3
text_field_with_auto_complete
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
remote_function_tag, I am
2006 May 24
12
Analog to ruby script/generate for removing generated stuff?
All,
If I do ruby script/generate model blah,
is there an easy way for me to remove all of that stuff that got
generated?
Something like:
ruby script/remove model blah?
If it doesn''t exist, is it coming?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Feb 18
0
question on text_field_with_auto_complete
Hi,
I have a tricky question about text_field_with_auto_complete. I''ve
created an admin section for a database of books and on each page
there is a form at the top with a single search field on the title of
books. So I''ve used:
<%= start_form_tag ({:controller => ''books'', :action => ''edit'' }) %>
<label
2006 Feb 27
0
auto_complete_field Vs text_field_with_auto_complete
Hi,
I want to know which of the two methods, auto_complete_field and
text_field_with_auto_complete best suits what I am trying to do.
I have a model class called search (which doen''t extend ActiveRecord)
which holds two parameters, category_string and postcode_string.
I want my form to bind its values to these to values. I also want the
category input to be an auto complete field
2009 Jun 18
1
undefined method `text_field_with_auto_complete'
Dear all:
I got the error in my rails 2.2.2 project on ma os x leopard. i did
as follow:
script/plugin install auto_complete
but when i start the server and try to approach the page which used
the auto_complete, it can''t find the helper method as the error told:
"undefined method `text_field_with_auto_complete'' ", than i try this
in script/console
helper.methods
i
2009 Apr 19
2
Upgrading from Rails 1.3.x to 2.3.2 - text_field_with_auto_complete not working
Folks,
I am trying to upgrade code base from 1.3.x to 2.3.2 and not
surprisingly, lot of things are broken.
''text_field_with_auto_complete'' is not working for me - it gives the
following error:
ActionView::TemplateError (undefined method
`text_field_with_auto_complete'' for #<ActionView::Base:
0x7f0ceb6b8290>)
I already have installed auto_complete -
ruby
2007 Jan 11
2
text_field_with_auto_complete() - problem
hello rubys,
i got a problem with the text_field_with_auto_complete().
everthing''s working but unfortunately the items (which are for choosing)
are filled into the input=text in a way that is unacceptable.
the first 6 characzers are empty-spaces, than the item and at last 5
empty-spaces.
doeas anybody know why? and maybe how to solve this problem?
my code is following:
view:
2006 Aug 07
1
Escape ''&'' in text_field_with_auto_complete
Good day.
I have searched on the net and through the archives to now avail as of yet.
I have a text_field_with_auto_complete that searches for company names.
These company names obviously can have an ''&'' in the name of the company
(example Barnes & Nobel).
The auto complete works beautifully.
However, the problem arises when I pass the name of the company to the
2006 Jul 11
0
text_field_with_auto_complete problem
hello all,
I am trying to get a customized text_field_with_auto_complete working
where the generated dropdown will display not only the list of teams
(first line), but also their city and country(second line).
In my view, I have:
<p>
<label for="team_name">Team: </label>
<%= text_field_with_auto_complete :team, :name, {}, :skip_style => true
%>
2006 Jun 16
0
text_field_with_auto_complete question
First let me say that Im very new to rails, but Im a solid PHP
programmer & Im very much enjoying the transition and working with such
a nice framework. That said, Ive had my ups and downs over the past few
weeks, such is to be expected as part of the learning process, but Ive
run into a sort of brick wall, at least for my experience level.
I am using the acts_as_taggable plugin in
2006 Jun 21
0
text_field_with_auto_complete broken in firefox?
I am seeing a problem with text_field_with_auto_complete in which the input
does not get populated with the selected value, but only in firefox (1.5.0.4).
Works in IE just fine. I have a super-simple mockup that shows this problem
below. Can anyone please confirm for me that this does/does not work in
firefox or point out my mistake? I''m wondering if I need to submit a bug?
The example
2006 Apr 13
0
text_field_with_auto_complete and foreign characters
I need a form where the user must enter a city name. I would like to use
an autocomplete_field for the city name, so I have the following code in
my view:
<%= text_field_with_auto_complete ''entry'', ''city_name'', :size => 40 %>
and in my controller I have the method:
def auto_complete_for_entry_city_name
@cities = City.find(:all,
2006 Apr 14
0
text_field_with_auto_complete and special characters
I have a problem with text_field_with_auto_complete. Everything works
fine except when I type special characters like ?,?,?. They are not
escaped. "oberver_field" has a with-option like this:
:with => "''ort='' + escape($F(''ort''))"
This works fine with umlauts, too. Is there a way to escape the user
input using
2006 Apr 16
2
:after_update_element on text_field_with_auto_complete
I have a a basic prototype coded:
#view
<%= text_field_with_auto_complete :student, :last_name, { :size => 15
},
:after_update_element => "alert(''hello world'');" %>
#controller
class ScoresController < ApplicationController
auto_complete_for :student, :last_name
end
If I take out the :after_update_element option everything works as
advertised.
2006 Apr 27
1
How to set value in text_field_with_auto_complete
I have a text_field_with_auto_complete that is working just fine,
except that I''d like it to retain whatever value is posted to it when
it reloads. I can''t find any API documentation on it. Does anyone
here know offhand?
Thanks,
Carl