Displaying 20 results from an estimated 9000 matches similar to: "Upgrading to 1.1 causes MySQL Lost Connections under WinXP"
2006 Apr 12
2
vim 7 ruby omni-complete v0.2
Thanks to some outside suggestions and contributions we now have another release.
If you missed the original announcement, rbcomplete provides a vim7
omni-completion function (code completion) for vim. It is based on
complete.rb, pycomplete.vim and ccomplete.vim. Any input is welcome.
Whats New:
------------
At the request of many people, Object''s instance methods are no longer
2006 Oct 17
2
Problems with stop word analysis and queries
I have a problem, and I think it''s because stop word analysis isn''t
happenning in the queries. I think it''s the way ferret is doing things
that''s causing this bug. Let''s say I''m searching across documents with
a title. And I have a document with a title of "Bash Guide for
Beginners". If a user types in the query:
Bash Guide
2006 Oct 14
2
Attaching files in Tracs to tickets is broken!
Hi,
I tried opening a new ticket with a patch I wanted to submit. But when
I tried to attach files to the ticket I keep getting a ticket not found
error. I kept trying to get it to work, but I accidentally opened 4 new
tickets. Sorry.
Charlie
--
Posted via http://www.ruby-forum.com/.
2006 Oct 14
9
How can I do my own search limits?
I''m trying to add a way to query across associations for a model in
acts_as_ferret. Say I have a model A and it has a relationship with
model B. Like say a Book has many pages. I want to search across the
pages of the Book and produce a list of unique books who''s pages match
the terms. So if I have a page that hits then I will add that book to
my list of results. Right
2006 Oct 17
9
Error : End-of-File Error occured at <except.c>
Everything was working fine till last night. This morning I have many
errors.
I am using acts_as_ferret. Last updated around a month ago on linux.
There are two different type of exceptions. I have over 12 exception
emails but these are the two distince types.
First exception:
A EOFError occurred in home#event_info:
End-of-File Error occured at <except.c>:79 in xraise
Error occured in
2006 Nov 01
8
aaf and stop words; query parser
I''ve been trying to implement acts_as_ferret in my latest project and ran into a snag. If I do a search for ''auditor state'' then the search works perfectly. If I include a stop word, as in ''auditor of state'', then I get no results. I''d prefer not to set stop words to nil and index everything.
The solution, that I have yet to attempt, is to use
2006 Oct 05
2
Submitting patches for acts_as_ferret
Hi,
I have a small path I''d like to submit to acts_as_ferret how do I do
that?
Charlie
--
Posted via http://www.ruby-forum.com/.
2006 Nov 17
4
acts_as_ferret and searching word docs
I was wondering if it is possible to search word documents using ferret.
The actual text in a word document isn''t in a binary format - only the
formatting. Surely it would be possible to parse that?
--
Posted via http://www.ruby-forum.com/.
2006 Oct 02
3
Adding dependant objects to an Index?
I have design question and I''m wondering what''s the best way to solve
it. I''m trying to index HTML content where I have a single model object
call it Article that is an acts_as_ferret model, and an article consists
of many HTML files. I would like to index all of the content of the
article with ferret and search across it. However, since the article''s
2006 Jun 25
1
acts_as_ferret with existing data (Building an index?)
Hi,
I''m trying to get the acts_as_ferret plugin to work with my rails
application, but it barfs with this error:
No such file or directory - ./index/development/Book/segments
I have existing data in my database, but it was added prior to me using
the ferret plugin. How do I get it to index that data, or when does it
index that data?
Charlie
--
Posted via
2006 May 25
5
Application stops working over night: (Errno::EPIPE (Broken pipe)) is the error
I know this question gets asked a lot but I can''t seem to find the
answer when I search through the mailing list. First off here''s my set
up.
Cent OS 4.3
Apache 2.0
Fast CGI 2.4.0
Rails 1.1
Mysql 5.0
The app starts up fine, but every morning it refuses to start and gives
me the dreaded Application error untill I reload Apache. I thought my
database was timing out so I added
2006 Jun 16
4
Unit test and get request with a URL
I''m tyring to write a unit test that uses a get() method to simulate a
get request in my functional test. However, get wants an action, and I
have a URL. I''m trying to redirect to a URL the user tried to hit
before logging in. After they login I want to go back to the URL they
originally tried.
I can''t find the get() method code in the help or otherwise. I
2006 Apr 11
2
Mapping contained objects to forms?
I''m having lots of trouble trying to map an object that contains another
object to the right forms param. So say I have Book which has one
Publisher. Here is what I''ve tried:
<p><label for="book_publisher">Publisher</label><br/>
<%= text_field ''book'', ''publisher.name'' %> </p>
Then
2006 Apr 29
3
Feedtools question
I use feedtools to generate the feeds and read them,and now they can not
work well:
This is the code for feed generating:
class FeedsController < ApplicationController
def userrss
@user = User.find_by_id(params[:id])
@articles = @user.articles(:all,:order => ''updated_at desc'')
@headers["Content-Type"] = "application/xml; charset=utf-8"
2006 Apr 28
35
what''s your rails wishlist?
I''ve been working with rails for a while now. Rails is the second web
framework I''ve tried. It blows the doors off catalyst (perl''s best
framework). I even just wrote my first plugin (broomstick). Ruby''s
ability to meta-program blew me away with it''s ease of use. I''ve been
so impressed with the helpers that rails uses to make a lot of
2006 Apr 30
2
Rss feed items disappear using feedtools?
I have met a problem on Feedtools and felt very confused about it:
The feed that I generated using feedtools can not be read correctedly by
feedtools,while rss from other websites can be read.
Still,the code for rss generating:
def userrss
@user = User.find_by_id(params[:id])
@articles = @user.articles(:all,:order => ''updated_at desc'',:limit
=> 15)
2006 Mar 30
9
script/console not working after Rails 1.1 upgrade
Whenever I do script/console I get an error message:
Loading development enviroment.
c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method
''upcase'' for nil:NilClass (NoMethodError)
from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup''
from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start''
from c:/ruby/bin/irb:13
2006 Aug 17
1
Worker pool worker for page scanners: lost connection to mysql
Hello,
I want to scan many URLs simultaneously with a new scanner worker for
each URL, but I keep getting Mysql::Error: Lost connection to MySQL.
Yes, allow_concurrency=false.
Each scanner thread needs access to my ActiveRecord models to store
discovered feeds and whatnot. There is a DB table called page_scans
that acts as a big queue holding URLs waiting to be scanned.
It would be
2006 May 03
8
Subversion and tmp directory in Rails 1.1 project
Hello everyone!
I''m thinking of the right way to store tmp/ directory of Rails 1.1
project in Subversion. It has cache, session and sockets
subdirectories. To me, it looks good to have
svn delete tmp/*
svn propset svn:ignore "*" tmp
So it will ignore all directories and files in tmp/. Even if you
create sessions/ and put some files in it, tmp/ content is still
ignored.
But
2006 Aug 09
6
Stack level too deep with actionmailer
HI,
Anytime I try to send emails with actionmailer I get a stack level too
deep SystemStackError. There were several other posts related to stack
overflows, but none of them invovled actionmailer. I''m using some
plugins acts_as_taggable, acts_as_ferret, rails 1.1.4, actionmailer
1.2.3. Here is my full stack trace.
Any ideas?