Displaying 20 results from an estimated 20000 matches similar to: "using ActiveRecord with flat files"
2007 May 05
3
Tell me why my Shoutcase handler sucks!
So, I want to build the greatest online radio ever! (for my, currently
crappy, faderwave.net radio station. Right now, I''m running Icecast
straight up. The only problem is that managing different DJs and
keeping them off the air when they aren''t supposed to be there is a
pain. There also is not one single management package that does
everything. My current system is a hacked
2007 Jul 27
3
Is mechanize thread safe?
Hello all,
I was just wondering if anybody knew whether mechanize is supposed to
be thread-safe or not? I didn''t really find any information about it
anywhere. I''ve been getting a strange error in protocol.rb when I run
a script that uses mechanize in a multi threaded fashion, but not with
a single thread.
I''m trying to write a spider that does multiple gets in
2007 Feb 04
2
Per activerecord object callbacks (aka: should I have gone to bed hours ago?)
First of all, I should have gone to bed a long time, so please be
forgiving with regards to what will follow :)
So I''ve been working all day on a rails project that needs to go out
soon, and I thought I would try to refactor a has_many relationship to
a has_and_belongs_to_many relationship (using has_many :through).
However, I then realized that I would loose a lot of the simple beauty
2007 Mar 26
4
Monit + Mongrel woes
Hello all,
So, I''ve been using monit with mongrel for a while now, since the
0.3.x days (I think it was). It used to work fine, but now I seem to
be having some trouble. I''m currently using mongrel 1.0.1 and I am
using the same monit configuration I''ve always been using, yet
everytime monit should restart mongrel, I get "Execution failed".
For the start
2007 Feb 09
7
Upload image without rmagic
I need a way to upload an image and display it without using any of
the plugins that use rmagic. I have used the plugins (file_column,
fleximage) which both use rmagic and gave me problems (never got
fleximage to work)
Thanks in advance - K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Feb 05
4
Lots of Internal Server Errors lately
Lately I''ve seen a lot of Internet Server Errors while trying to use
Trac. Is there a plan to do something about this, or is it time to
start sending donations for a new server? ;)
Kind regards,
Thijs
--
Fingertips - http://www.fngtps.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2007 Feb 18
2
SerializationTypeMismatch in Production Mode
In production mode, I keep getting this error the 2nd time it loads a
page with a serialized attribute:
ActiveRecord::SerializationTypeMismatch (answers_container was
supposed to be a Array, but was a NilClass):
/vendor/rails/activerecord/lib/active_record/base.rb:1964:in
`unserialize_attribute''
In development, it works fine. In fact, if I set to false
config.cache_classes in
2006 Dec 26
1
Subversion authentication?
Hello,
I''ve been trying to get the latest copy of BackgrounDRB as per the
documentation here http://backgroundrb.rubyforge.org/. However,
whenever I try to access
http://svn.devjavu.com/backgroundrb/tags/release-0.2.1 I keep an
authentication prompt and if I leave it blank I am declined access.
Is there somewhere else to get the code or am I doing something wrong?
Thanks,
-carl
--
2007 May 21
2
Rails'' fixtures suck! But what about something like this?
Sorry about the very long email, but this is a hairy topic that''s been
annoying me for some time and I decided to try to do something about.
Also, if you got this twice, I apologize too, but it didn''t seem to
have successfully gone out the first time.
Background:
----------
I''ve been dealing with Rails for about a year and a half now. I''ve
been using
2006 Dec 25
4
Definitive guide for upload progress
Hi
Is there some definitive guide for upload progress plugin ? We have in
this mailing list a lot of testimonials, bug reports, bug fixes, but
there are still people like me who cannot use it correctly.
Here is my config:
- mongrel 1.0RC and upload progress plugin 0.2.1
- a 6 mongrels cluster
- config/mongrel_upload_progress.conf:
uri "/",
:handler =>
2007 Mar 20
31
Another mongrel_cluster prerelease 1.0.1.1
Hi all...
Hopefully this is the last prelease. If people on non-linux systems
could post back any problems with cluster::status, I''d appreciate it.
Install with:
gem install mongrel_cluster --source http://mongrel.rubyforge.org/releases/
Note: This is only an update to mongrel_cluster and not Mongrel or other
gems.
Details about what''s new (if you missed the first
2007 Mar 06
59
Memory leaks in my site
Hi all,
My environment is ruby-1.8.4, rails 1.2.2, mongrel 1.0.1, linux 2.6. Now, i
have a problem on memory leaks with mongrel. My site is running 5 mongrel
processes on a 2G RAM machine, the memory of each process grows from about
20M to about 250M, but it never recover to the initial 20M, so i had to
restart the mongrel processes once per day. The load is about 1M hits per
day.
Waiting for
2007 Aug 24
4
Confirm email... (Giant-sized gifts, decor and props)
5-foot pencils? Gallon-sized coffee mugs? 10-pound chocolate bars?
Yes! Yes! Yes! And yes to dozens of other common objects in uncommonly BIG sizes!
That's what GreatBigStuff.com is all about!
Thank you for your interest in http://www.GreatBigStuff.com.
This message is to verify that you wish to have your email address:
rsync@lists.samba.org added to the GreatBigStuff.com mailing list.
2004 Mar 04
4
Accurate area map projections
Hi,
Could any one point me to the projection, and parameters if necessary, that
would show each country/continent with it's area accurately refelcted on the
plot? E.g. aitoff vs. albers vs. bonne vs. cylequalearea vs. guyou - they
don't all look the same to mee but some of the documentations suggests they
are equal area? Of course this isn't my field, so I am largely guessing and
am
2008 Apr 30
3
checking whether a file is empty
Hi,
Is there a way to check whether a file is empty in R. I did the customary
searches, but did not find anything. Please cc me on any reply.
Thanks, Faheem.
2010 Sep 01
2
invert order
Dear R-help list users,
I have a huge vector of numbers, how I can invert orden?
For example
x <- 1:10000000
I would like to obtain
x_r <- 10000000:1
Thanks,
Sebastian.
2006 Jul 21
3
Specifying a view template
I''m new to Rails (and liking it!) and I have multiple controllers, each
of which has a method which uses a view template which is identical to
what the others use.
I would like to be able to have just one template to maintain that they
can all use. What is the customary way to do this? I tried using
render_action to specify the template explicitly, and it "works". But I
2011 Jul 27
2
Creating a flat legend 'grob' for lattice xyplot
Hi,
I want my xyplot legend to be flat, not tall, and there seems to be no way
for xyplot's auto.key and key elements to do this: I tried many, many
permutations of what I could find in the archives and reading the
documentation. If there there's a way to make it flat, please tell me what
the magic incantation is.
Here's a simple example of what I like to see. The xyplot will be a
2007 Mar 29
4
Machine reboot - monit fails to start mongrels
Greetings -
I dug around a bit and I couldn''t find a definitive answer to this
question, apologies if it''s been covered before. A box running a
apache 2.2 -> mongrel cluster for a rails app got power cycled at my
ISP. Unfortunately monit couldn''t start the mongrel processes
because the pid files were still there. Here is my monit config (for
each mongrel
2015 Sep 07
2
Bind flat file support
Is there any chance that support for Bind flat files will return? I
understand the various (extremely weak) arguments against it but DLZ not
only sucks big time, it limits proper functionality and
inter-operability, necessitating significant design changes for anything
but the simplest of networks. Additionally, it doesn't work with the
existing scripts many people use. I know that