Displaying 5 results from an estimated 5 matches for "jolicoeur".
2006 Dec 07
8
Index location for multiple servers
I have a rails app that is going to be deployed across several servers.
In my understanding of acts_as_ferret, the index files are kept in the
index folder in the root of the rails app. This won''t work for multiple
servers, of course, since all the servers will have their own directory
tree.
How are people using ferret for apps deployed on multiple servers?
Could I run the index files
2009 Feb 21
2
ArgumentError on model create statement
I have a rails app model that I''m getting a strange error that is just
baffling me. I''ve stripped everything out of my model down to the
basics and still get the error.
So, here is the current model:
class Metric < ActiveRecord::Base
end
When I go into the console, and issue a simple "Metric.create" command I
get the following error:
>> Metric.create
2007 Aug 08
3
issues with index for table with over 18 million records
I have a MySQL table with over 18 million records in it. We are
indexing about 10 fields in this table with ferret.
I am having problems with the initial building of the index. I created
a rake task to run the "Model.rebuild_index" command in the background.
That process ran fine for about 2.5 days before it just suddenly
stopped. The log/ferret_index.log file says it got to about
2007 Jan 10
0
capistrano disable_web with mongrel_cluster
Ok,
So I''m running mongrel_cluster behind a hardware load balancer. I don''t
have apache running at all, just mongrel_cluster.
Does anyone know how I can get cap disable_web/enable_web to work
without Apache. With no apache I can''t just make an .htaccess file
change like the docs state.
has anyone rewritten disable_web/enable_web to work with just
mongrel_cluster and
2007 Jan 12
2
Forking a process in Rails is messing up mongrel
I''m trying to run an external Ruby script from my Rails app.
To do this i''m using this function
def fork_with_new_connection(config, my_class = ActiveRecord::Base)
pid = fork do
begin
my_class.establish_connection(config)
yield
ensure
my_class.remove_connection
end
end
Process.detach(pid)
end
Then, within my controller I do this: