similar to: upload_status_for undefined method?

Displaying 20 results from an estimated 3000 matches similar to: "upload_status_for undefined method?"

2006 Jan 05
2
ActiveRecord callbacks not happening
Hi, I have a model class like so: class Candidate < ActiveRecord::Base validates_presence_of :name @@index = FerretConfig::INDEX def self.after_destroy puts "Ferret: after_destroy called" @@index.query_delete("+id:#{self.id} +ferret_class:#{self.class.name}") optimize_index end end But when I delete a record, the after_destroy is never called.
2006 Jan 10
1
search_each returns partial results?
Hi, I''m having some trouble with ferret search_each. I''m posting rails'' script/console output, so I guess you can decrypt it: >> res = [] => [] >> index.search_each(''name: a*'') do |doc, score| ?> res << doc >> end => 50 >> res.size => 10 >> I''m guessing the ''=>50''
2007 Apr 21
0
Auto_complete
Hi Guys, Am building an app in rails1.2.1 and wanted to use the auto_complete. So i have it set out as follows. # view <%= text_field_with_auto_complete :contact, :first_name %> # controller auto_complete_for :contact, :first_name But this is all l get NoMethodError in ContactsController#index undefined method `auto_complete_for'' for #<ContactsController: 0x3384570>
2006 Jan 02
3
Multiple indexes?
Hi, I''m indexing records from different database tables and they have identical column names in many cases. Does this mean I have to create different indexes for each table? TIA, Vamsee.
2005 Dec 18
1
assert_template fails?
Hi All, I have a seemingly simple problem - but can''t figure out the problem. I have a simple functional test like so: def test_should_show_search_dropdown get :index assert_response :success assert_template :search end Inspite of having search.rhtml in /app/views/layout, it fails with an error: 1) Error: test_should_show_search_dropdown(SearchControllerTest):
2005 Dec 31
2
Some newbie questions
Hi all, I''m newly discovering Ferret, and just did a crash course on Lucene to (I get the concepts behind it). But I''m have a few doubts: 1. What is the ''recommended'' way of integrating Ferret into my app now? The gem version or the plugin? 2. Where do I checkout the plugin from? Do I just copy the version on the wiki? Those apart, Ferret is really
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 Jan 28
2
javascripts
Trying to use auto_complete_for which works fine on my home system. I see that when I use <%= javascript_include_tag "defaults" %> that when used, the webrick reports GET /javascripts/prototype.js GET /javascripts/dragdrop.js GET /javascripts/effects.js GET /javascripts/controls.js but on the system that I am trying to develop on and doing similarly, the webrick only reports
2006 Jan 28
1
referencing a table
I am trying to use auto_complete_for to reference a different table. in my clients_controller.rb file auto_complete_for :case_manager :case_manager.name ^^^^^^^^^^^^ this is not the clients table my models/clients.rb has: has_one: case_manager The above ''auto_complete_for'' line in clients_controller.rb
2005 Aug 25
1
newbie questions about hosting address
Dear Rails groups, thank you for all the previous helps in this group, and me being a newbie is getting more comfortable with rails and now I finish most of the scaffold modification without much problem. My question is(I know it''s absolutely basic questions but I''m a real outsider :~( ) I have been developing in my own pc, now my office ''s other people will test on it,
2005 Aug 18
1
Auto Complete, works as adverrtised?
I''m trying to use the auto complete now and I get: undefined method `auto_complete_for'' for #<ProductsController:0x40a44338> My code is: def auto auto_complete_for :product, :title end Just like in the "view source" div from the demo. Well, almost like it. Am I missing .rb library somewhere? thanks Jacob
2006 Jan 05
6
Problems with Ferret in RForum
Hi, I have been using Ferret on ruby-forum.com for a few days. While the searching works with reasonable performance, there are a lot of problems related to indexing. Sometimes the process hangs with 100% CPU usage, sometimes it leaves Lockfiles in the directory (causing other processes to fail while one ist still working), sometimes it even crashes with a segfault. I''m going to
2006 Feb 26
2
auto_complete on steroids
I am trying to get more out of auto_complete than it apparently was designed to deliver. My problems seem to be two fold. 1 - I use aggregations on names... :first_name, :middle_initial, :last_name and then aggregate them using a composed_of :wholename thing auto_complete_for seems to be wired to only use table columns directly and gags on the aggregate form. 2 - foreign table columns -
2006 Jan 11
0
Easy Question, I Think
I am just getting started with Rails, don''t know any Ruby, and don''t quite even get object oriented programming yet. I have tweaked my schema to The Rails Way and have generated a bit of scaffolding. I am trying to create a new Part, which references a PartName and a PartNumber. I can create a PartNumber on the fly, but the PartName has to exist. I have an inelegant solution
2006 Jan 12
0
Easy Question, I Think [re-post, sorry if dupe]
I am just getting started with Rails, don''t know any Ruby, and don''t quite even get object oriented programming yet. I have tweaked my schema to The Rails Way and have generated a bit of scaffolding. I am trying to create a new Part, which references a PartName and a PartNumber. I can create a PartNumber on the fly, but the PartName has to exist. I have an inelegant solution
2006 Apr 11
4
text_field_auto_complete not working in IE?
Hi all, I''m looking for some insight on why my text_field_with_auto_complete might not work in Internet Explorer. I''m using it in a fairly simple way, without much customization. I''ve broken it down and made a test page at http://realty.colemanation.org/houses/test which shows the behavior I''m having problems with. For me on Windows XP this page works
2012 Oct 10
8
link_to with additional data
Hi, rails 3.2.8 I must be missing something basic (and it''s been driving me mad) because I am trying to send one additional data attribute to my controller from a link, but I can''t seem to get it into the params received by the controller. I have looked around and found answers, but none seem to affect my links. I''ve set up a dummy app with a home page and a single
2006 Nov 04
1
role based auth breaks auto_complete_for
Hi there I bought the rails recipes book, and I implmented the role based auth, but that breaks my auto_complete_for, I added it to the right table , but no luck, any tips would be apreciated Thanks in advance
2006 Jul 22
1
(bug) auto_complete_for has no support for umlauts!
i wanted to file a bug in the rubyonrails trac, since trac is currently broken, i am writing this here. maybe there is a solution allready: auto_complete_for has no support for umlauts. this i a very big problem for non-english developers out there, since almost everything searched for contains umlauts. * searching by umlauts is not possible * displaying of the found entries is screwed see
2006 Jul 27
1
auto_complete_for method not found error
Hey guys, I have the newest installed Ruby Gems 1.4. I can''t run the scriptaculous auto complete because it cant find auto_complete_for method. However, I have the auto_complete.rb file in my Rails directory and it has the method inside. Why is not found? -- Posted via http://www.ruby-forum.com/.