search for: pmade

Displaying 6 results from an estimated 6 matches for "pmade".

Did you mean: made
2007 Oct 08
7
Unified ferret_start and ferret_stop
I would like to unify the ferret_start and ferret_stop scripts into a single script. My motivation is to make the scripts more like the other rails scripts, and to also make it fit into monitoring schemes better. I realize that some work was done recently to allow the scripts to be run from script/runner, but I think a unified script is a better approach. A unified script would allow more
2007 Nov 05
0
Partial Class Definition if Ferret Server Not Running
...ight direction regarding the correct way to resolve this (in remote_index or ferret_sever). Having the ferret_server check the indexes when it starts seems to be the correct idea, instead of having them checked once for each class in each rails process as it starts. Thanks. -- Peter Jones pmade inc. - http://pmade.com
2007 Nov 05
1
Segmentation Fault in more_like_this.rb
...rret (0.11.4-rc5). Line 170 in more_like_this.rb is: freq = reader.doc_freq(field_name, word) which is calling into the ferret C code (if I''m reading this correctly). Is there anything I can do to get you more information, or help track down this problem? Thanks. -- Peter Jones pmade inc. - http://pmade.com
2007 Nov 11
6
Reducing dependency on remote ferret process
Hi. We use FerretDrb for search. If the ferret process is down, our entire application comes down the moment we try to save a model which is indexed. Is there a way to decouple this relationship such that we can somehow resume normal operations despite ferret being down and not index the model? Thanks. Morten
2009 Feb 04
4
Rails 2.2.2 to_date and to_datetime methods
In the console I see this behaviour: >> "19270412000000".to_date.methods => ["ns?", "mon", "ago", "end_of_month", "months_since", "default_inspect", "minus_without_duration", ... >> "19270412000000".to_date.class => Date >> "19270412000000".class => String >>
2007 Jan 11
5
ASF: cannot determine document number from primary key
I''m getting this exception from acts_as_ferret: A RuntimeError occurred in search#similar: cannot determine document number from primary key: #<MyClass:0x9feba20> [RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/instance_methods.rb:132:in `document_number'' As a result of this call: object.more_like_this The relevant backtrace: