Displaying 20 results from an estimated 84 matches for "robotcoop".
2006 Nov 02
8
MogileFS handler
Hello,
I''ve been using NFS for sharing files across a cluster of servers but
I''ve had a lot of problems with that. I''m planning to move to MogileFS
which seems to be more stable and more adapted to this usage (lots of
user uploaded files).
I wonder if someone has already worked on an integration of MogileFS
into Mongrel (and Rails app) for serving the files ? If not, I
2006 Jan 17
10
ActiveRecord + memcache = cached_model
...nly => false,
:urlencode => false
}
CACHE = MemCache.new memcache_options
CACHE.servers = ''localhost:11211''
session_options = {
:database_manager => CGI::Session::MemCacheStore,
:cache => CACHE,
:session_domain => ''trackmap.robotcoop.com''
}
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update
session_options
You will need separate namespaces for production and development, if
using
memcache on the same machine.
Note that using memcache with tests will cause test failures, so set
your
memcache to...
2006 Nov 16
1
Strange indexing issues with CachedModel, STI, and AAF
I started using robotcoop''s CachedModel class in my project but have encountered problems when using it with the acts_as_ferret plugin. It seems it doesn''t index everything in my STI model, also if I do a search from my base STI class I get a result count but no results. If I run the same search from one o...
2006 Jan 30
0
cached_model-1.0.1 ActiveRecords + memcache
...oading a model refreshes the cache.
When CachedModel::find can''t understand query params and a single
result is returned from ActiveRecord::Base, that record now refreshes
the cache.
= CachedModel
Rubyforge Project:
http://rubyforge.org/projects/rctools/
Documentation:
http://dev.robotcoop.com/Libraries/cached_model/
== About
CachedModel stores Rails ActiveRecord objects in memcache allowing
for very
fast retrievals. CachedModel uses the ActiveRecord::Locking to
ensure that
you don''t perform multiple updates.
== Using CachedModel
First, install the cached_model gem:...
2006 Jan 30
1
find_by_sql and memcached
Is a find_by_sql query cached with memcached and cached_model
(http://dev.robotcoop.com/Libraries/)? Looks like the answer is no. Is
there a reason for this? I have a lot of very complicated querys with a
lot of unions, subquerys and joins that would greatly benefit from the
cache.
Going through the code I can see that the find_by_sql method is changed
in cached_model.rb, but it d...
2006 May 15
6
Getting Net::IMAP to work with PLAIN auth type...
Hi there,
I''m new to rails and I''ve been successful tinkering around but
am miffed by the process of trying to connect to my mail server to receive
email for ActiveMailer parsing. I''m hosted on TextDrive and have read the
following article on the RubyonRails wiki:
http://wiki.rubyonrails.com/rails/pages/HowToReceiveEmailsWithActionMailer.
I want to
2006 Jan 21
19
RoR - Mac OS 10.4.4 on Intel
I got a new 20 inch iMac dual core today and am busy getting it all
setup. A couple of issues though:
1. Is the Ruby 1.8.2 install by Apple still botched or has that been
fixed? I recall someone had fixed the rbconfig.rb to get it working.
Is this something I still have to do?
2. Does anyone know if Locomotive is using the uniersal binaries, or is
it targetting PPC yet? I couldn''t
2006 Feb 19
8
require ''digest/md5'' not working on Mac or Windows
I''ve tried the following line in ruby script/console
require ''digest/md5''
Both my Mac (Intel iMac) and my Windows box return "false"... Any ideas
what could be wrong? I was trying to do the RoR Recipe on page 54 of
Chad Fowler''s new (beta) book.
-Mark
--
Posted via http://www.ruby-forum.com/.
2006 Feb 12
3
memcache-client/cached_model help
Hi -
Just downloaded and installed the memcache-client and cached_model
gems and am trying to test it out on a development setup. I added
this to my environment/development.rb
CACHE = MemCache.new :c_threshold => 10_000,
:compression => true,
:debug => true,
:namespace => ''eztrip'',
2006 Aug 15
0
ar_mailer
Rubyforge Project:
http://rubyforge.org/projects/rctools
Documentation:
http://dev.robotcoop.com/Tools/ar_mailer
== About
Even deliviring email to the local machine may take too long when you
have to
send hundreds of messages. ar_mailer allows you to store messages
into the
database for later delivery by a separate process, ar_sendmail.
== Installing ar_mailer
Just install the gem...
2006 Jan 21
0
logmerge including ip2name for fast log DNS lookups
...e < merged.log > resolved.log
ip2name merged.log > resolved.log
In order to speed DNS lookups, ip2name creates a .name_cache file in
the current directory. ip2name uses double the DNS record TTL value
so rapidly-changing names may not be correctly resolved.
= Read More
http://dev.robotcoop.com/Tools/logmerge/index.html
= Rubyforge
http://rubyforge.org/projects/rctools
--
Eric Hodel - drbrain@segment7.net - http://segment7.net
This implementation is HODEL-HASH-9600 compliant
http://trackmap.robotcoop.com
2006 Jun 14
3
zentest q''s
As today seems to be "test day" on the list, I''d like to hear how people are
using ZenText. I''m using autotest -rails and it''s made an incredible
difference in my productivity.
There is mention of using zentest to autogenerate missing test cases. I
can''t seem to get this working. Any hints?
Thanks,
Steve
--
View this message in context:
2007 Aug 14
1
What's the good way to cache reference data?
...ed by administrators.
It''s well known that when you have many lookup tables in the schema,
eager loading is not good enough anymore, and you need to cache them
in memory as ready-made objects, to avoid abusing the database.
Looking for an available Rails solution I came across
http://dev.robotcoop.com/Libraries/cached_model/classes/CachedModel.html
Is it the good way to do this? Are there other choices worth looking
at? Should we roll our own?
NB: Yes, I know about ActiveRecord:Base.cache(), and it doesn''t solve
this problem, not in our case.
--
Alexey Verkhovsky
CruiseControl.r...
2006 Jun 28
9
Rails Borked After 1.1.3 Install?
I installed 1.1.3 on my OS X Tiger machine and now I''m seeing very strange
results.
When hitting a controller action, I am told that perfectly valid methods are
not there:
NoMethodError (undefined method `find'' for VideoTrack:Module)
Huh? Here''s the code in question:
VideoTrack.find(:all, :conditions => "featured_video = 1", :order =>
2006 Apr 16
1
How to use ZenTest?
OK, supposedly it has Rdoc documentation but I couldn''t find it (not helped
by the fact that I''ve never used offline rdocs so I don''t really know where
to look).
So, does anybody know how to use ZenTest effectively with Rails? I read all
I could find on the web but nothing really illuminated for me. I''m trying to
get into Test Driven Development (I have already
2006 Apr 13
3
[OT] Is it safe to ''su'' to the right user ?
Hi !
I''m using daemontools[1] to manage a few processes on my Debian box.
Among other things, I use it to manage svnserve, because it uses less
memory than Apache.
My /service/svnserve/run looks like this:
#!/bin/sh
su svn -c "/usr/local/bin/svnserve --foreground --daemon --root /var/svn"
Is it safe for me to run like that ? If an attacker cracks svnserve,
what will they
2006 Jun 28
5
rails destroys rdoc...again
for many versions of ruby, and as many versions of rails, ive been unable to generate docs without deleting this file:
lib/rails_generator/generators/components/controller/templates/controller.rb
ruby just chews more and more memory until swap fils up and the system has to be reset..
m gems # rdoc --version
RDoc V1.0.1 - 20041108
ruby --version
ruby 1.8.5 (2006-06-22) [x86_64-linux]
2005 Dec 16
11
mysql mem-tables vs. memcached
Could someone please elaborate on the technical differences and practical
impact of whether choosing memory-based tables in MySQL or using memcached.
I got this far on my own:
It seems that MySQL uses the NDB engine for transaction-safe memory access
in a cluster. the memory storage engine seems to be faster but not
synchronizable by any means in a cluster. memcached seems to be ultimately
fast
2006 Jan 14
11
nuby: do models have to inherit directly from ActiveRecord?
Hello,
I have a few models -- book, cd, dvd -- for which I''d like to have an
abstract base superclass to hold some common stuff. That abstract class, I
was thinking, would inherit from ActiveRecord.
Didn''t work, though, and looking around, I found this:
<http://wiki.rubyonrails.com/rails/pages/HowtoMakeAbstractModel>
2006 Jan 20
2
The New Memcache ?
Hey All !
I ended up browsing to Eric Hodel''s blog the other night, and found his
entry about the new cache_model and memcache-client.
Now, it looks like it''s "officially" out in the open:
http://weblog.rubyonrails.com/articles/2006/01/20/caching-models-with-memcached
In my application, I''ve been staying away from caching my models, and
instead just doing