similar to: Ferret Issues

Displaying 20 results from an estimated 4000 matches similar to: "Ferret Issues"

2006 Aug 12
4
Ferret Wierdness
Hi, I have installed the ferret gem (on WIN XP). My search and result view is working, but it comes back with empty results all the time. It seems like ferret is building the index (there is 3 binary files in the index directory). If I add the line: acts_as_ferret :fields => [''title'',''description'',''price'',''website_url'']
2006 Apr 02
1
One to Many Relationship Issues
Hi, I am having issues with a one to many relationship(it never works :-)). Jokes aside, I am getting an error: Mysql::Error: #23000Cannot add or update a child row: a foreign key constraint fails: INSERT INTO adverts (`image_url`, `price`, `title`, `website_url`, `description`, `user_id`) VALUES(''bb'', 22.0, ''aa'',
2006 Jul 21
1
Passing a variable between methods
Hi, I am trying to add search functionality to may application. I am struggeling to pass my query to the controller and then show all my search results in another view. How would I do this? Model: class Advert < ActiveRecord::Base belongs_to :user def self.search(query) if !query.to_s.strip.empty? tokens = query.split.collect {|c| "%#{c.downcase}%"}
2006 Jul 07
4
Help installing Ferret
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails I followed everything here but at the last I get when loading page get_results Can only handle a String or a Query. RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/models/result.rb:27:in `search_each'' #{RAILS_ROOT}/app/models/result.rb:27:in `search_index''
2006 May 18
5
acts_as_classifiable plugin
Hello, I am pleased to announce the availability of the plugin acts_as_classifier which allows using the ''classifier'' gem in a Rails application. This plugin can be downloaded from http://opensvn.csie.org/sksinghi/acts_as_classifiable/ This plugin is useful in scenarios where you want to distinguish between spam or non-spam comments, Or maybe you want to track the
2006 May 03
7
anybody using GoDaddy for hosting ?
Is anybody hosting with GoDaddy.com? I''m about to set up a hosted account for my RoR app and see that they''re now offering RoR hosting. I''d really appreciate hearing from anybody who''s tried them for RoR. Any congrats / complaints / etc. you had / are having would be really appreciated! Thanks, Bill -------------- next part -------------- An HTML attachment
2006 Jun 23
5
Ajax zooming pictures
Hi, I was wondering if anyone has an idea of the code that I can write to achieve the follow effect. http://www.istockphoto.com/file_search.php?action=file&userID=938503 When you move your mouse over an image, it shows a bigger picture. Thanks -- Posted via http://www.ruby-forum.com/.
2006 Apr 02
2
Problem with edge rails
Hello, When I am trying to run rake migration tasks, I get the error as shown below. I am using ruby 1.8.4 and edge rails. What am I missing or doing wrong? C:\rails\temp1>rake db:migrate (in C:/rails/temp1) rake aborted! no such file to load -- rails_version Thanks for your help. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at:
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious about how Ruby Web Dev was done prior to rails. Any veterans want to share their insights? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html
2006 Jul 09
6
ajax effects
Hi, i was wondering if there was some kind of general line of code i could add to my application, anywhere i suppose, that would generate some kind of effect to notify the user that an effect is happening...it could be a box on the top of the screen or something, that would be like the small bar at the end of the browser that shows the user the status of a loading page ... i was hoping
2006 Apr 13
3
Offsite Job
Hello I am looking for a RoR developer to work from home/their location. I would require 20-30 hrs of assistance every week. Interested developers may kindly send your resume to nakshsys@gmail.com with their hourly rate. Best -- Posted via http://www.ruby-forum.com/.
2006 Jul 20
1
Model CRUD via web services
Hello, I was wondering if there was any automated (may be scaffolding) way of exposing Model CRUD via web services. I found this ticket for django, but nothing for Rails. http://code.djangoproject.com/ticket/115 Thanks in advance for your opinions and suggestions. Regards. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at:
2006 May 04
1
Switching to production mode
Hello, I want to start my rails application in production mode. But for some reason in spite of uncommenting this line in ''config/environment.rb'' ENV[''RAILS_ENV''] ||= ''production'' when I run ''ruby script\console'' it says loading development mode. Also, the webrick sends log messages to development.log file instead of
2006 Jul 13
2
Iframe upload indicator
I''m using the iframe trick to upload files with form_tag and a target pointing to the iframe. All is working, but I would like to display an indicator of the upload. All I want to do is show a hidden animated gif via Element.show. With form_remote_tag, i could use the :loading and :complete callbacks to do an Element.show and Element.hide. How do I achieve a similar effect with form_tag?
2006 Jun 19
2
Autocompleter enhancement feature request
Hello, I have created a ticket for an enhancement of the autocompleter to show the options immediately when the field gets focus. Right now at least one character must be typed for autocomplete to kick in. http://dev.rubyonrails.org/ticket/5435 I have also made some code changes directly in the script Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2006 Jun 15
2
AJAX form inside table - error
Hello, I need to put an AJAX, form such that it is inside a table, and spans across few rows. But, what I am noticing is that, while submitting the form, the data in the fields is not submitted. If I move the form outside the table or inside a cell, things work OK, but not when the form is inside the table and spans few rows. This problem is only with AJAX forms, regular forms work perfect. I
2006 May 04
2
Is there a way to version the contents of a table as a set?
I am looking at using acts_as_versioned to manage revisions of data in several tables in my application. However, the default behavior of acts_as_versioned appears to apply to individual rows within a table. The tables I want to version are complicated lookup tables and what I really want is to version the entire contents of each table as a single set. Adding a row, deleting a row, or updating
2006 Jun 12
8
sending email
Hi, Has anyone got any good tutorials on how to send emails in ruby, seems a bit more complicted than PHP Thanks Scott -- Posted via http://www.ruby-forum.com/.
2006 Aug 12
3
Capistrano deployment pathname error
When I try to do a deployment with Capistrano I get the error "No such file to load -- pathname" when Cap tries to execute reaper. Any ideas what''s causing this or how I can troubleshoot it? (Output follows.) Thanks. Evan -----BEGIN OUTPUT----- [evans-powerbook:~/Desktop/asktheguys] evan% clear ; rake remote:deploy (in /Users/evan/Desktop/asktheguys) loading
2006 Apr 03
5
rails migrations - enhanced usage
Hello, When I am writing rails migrations, quite often I make mistake in them which causes the migration tasks to stop halfway with error. This causes lots of problem, because it results in half of the things in migrations changed and other half not. Also, as the schema number is changed, so things cannot be rolled back. Is there any way to make the entire migration action atomic, i.e.,