Displaying 20 results from an estimated 2000 matches similar to: "text_field_with_auto_complete nonsense (newbie question)"
2006 Aug 06
1
RJS error
http://pastie.caboo.se/7437
Page appears as:
Todo List
#testing
    * Heres another Edit Destroy
    * Testes Edit Destroy
    * One more Edit Destroy
    * Heres another Edit Destroy
    * And another Edit Destroy
      NameError in TodosController#create
      undefined local variable or method `page'' for 
#<TodosController:0x228bf4c>
      RAILS_ROOT: 
2006 Apr 26
3
My GD2 is not working
I installed GD2 1.0/1.1, but they are both not working, does anyone 
knows why? Great Thanks!
With GD 1.0 I got:
========================================================
RuntimeError
unknown symbol "gdImageSquareToCircle"
RAILS_ROOT: 
/home/virtual/site1/fst/var/www/html/imodesite/public/../config/..
Application Trace | Framework Trace | Full Trace
2006 Jun 07
0
HELP pls - no contact app via browser - via console works!
hi again,
having been working on a rails-app for quite a time without experiencing 
any trouble at all an INTERNAL SERVER ERROR 500 was presented on screen. 
After that each and every attempt to connect to my app via browser is 
commented like that :
undefined method `link_to'' for #<#<Class:0x253345c>:0x25333a8>
(''link_to'' is just an example for a method ...
2006 Jun 05
1
file_column & RMagick
Hi,
I have a site where I wish to upload a resize a picture, and store it in 
the file system. The best solution that I have found for this so far is 
using file_column. This was working great, for about an hour, but all of 
the sudden I began to get the following error (only when i attempt to 
resize).
    NameError (undefined method `assoc'' for class `Magick::ImageList''):
   
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
2006 Apr 19
1
Recognition failed for "/"
I am new to ROR and i have been following a few howto''s and just testing 
things.
It works fine in webbrick yet if i try and access using lighttpd or if i 
run
public/dispatch.fcgi from cmd line i get the error below
Thanks
Recognition failed for "/"
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in 
`recognition_failed''
2006 Jun 07
1
Web Service: NoMethodError (missing attribute: featured) !?!?!?!?!
Hi all -
I have a Player model.  The database looks like this:
+-------------------+--------------+------+-----+---------+----------------+
| Field             | Type         | Null | Key | Default | Extra          |
+-------------------+--------------+------+-----+---------+----------------+
| id                | int(11)      | NO   | PRI | NULL    | auto_increment |
| fname             |
2006 Jul 19
1
RoutingError -- but only for one controller
This one has had me stumped all morning, so any ideas would be a big 
help. I''m getting the following error for any request to one of my 
controllers, ''client'':
ActionController::RoutingError (Recognition failed for "/client/new"):
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in 
`recognition_failed''
   
2006 Aug 02
4
Disc quota exceeded when attempting to write session
Hi All,
When trying to write sessions file, I''m getting disc quota errors.  
Looking into the sessions folder, I see:
-rw-------  1 www   www  188 Aug  2 21:03 ruby_sess.d39a2c77b4750b72
-rw-r--r--  1 www   www    0 Aug  2 21:03 ruby_sess.d39a2c77b4750b72.tmp
I''m guessing the the tmp should not be there, as it does not show on  
my dev setup.
I''m using rails (1.1.1)
2006 Nov 01
1
strange issue with backgroundrb behind apache/lighttpd
I''m getting strange data back from my worker whenever I run our rails
app with more than one dispatcher under lighttpd.
just to give some info on what the app does:
user submits data to rails app.  rails app hands off data to worker,
which goes and does it''s thing, storing results in an array of
response objects (the array is an attribute of the worker).  the
response object
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
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
2006 Aug 08
1
File upload into Mysql (using lighttpd) problem
Hello All,
I''ve run into a snag. (I apologize in advance. I''m not very good at 
system administration.)
I''m building an app that allows users to upload files. Up until now I 
have been storing the files on the file system, but tonight I decided to 
change the app so the files are stored in the database as a longblob.
I thought everything was working great, until I
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 Jun 29
0
can''t run rails application
Hello,
I''m trying to run Rails on Apache 2.0 with mod_fcgid. It seems like
fcgi has been set up ok, but still I can''t run my rails application.
Here is my httpd.conf
IPCCommTimeout 40
IPCConnectTimeout 10
DefaultInitEnv RAILS_ENV production
SocketPath /tmp/fcgidsock
<VirtualHost *:80>
        <Location />
                RewriteEngine On
               
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,