Displaying 20 results from an estimated 10000 matches similar to: "Fast and reliable host for database + AJAX intensive Rails application."
2006 May 01
0
Scaling the database for write intensive application
I am developing a large scale financial application which is going to be
very intensive write-wise, and use a lot of transactions.
I can see how the the web and application servers can be scaled and load
balanced quite easily, but not the database.
The setups I have looked at so far seem to deal with coping with a lot
of reads, and minimal writes - this maybe because they are largely
content
2006 Apr 18
11
Which database to choose for a new Rails application - MySQL 4.1 or 5.0?
Hi
I''m choosing a database for a new Rails application. I pretty much
ruled out PostgreSQL, since despite good reviews of the database
itself, it seems it has countless issues with Rails (for example: in
recent releases migrations don''t work, and unit-tests fail).
So I should now choose between MySQL 4.1, which as I understand enjoys
widespread popularity - perhaps the most
2009 Aug 07
2
create separate plots by factors
Hello,
I am attempting to create several plots based on "site" (~300 total)
and am having trouble with the code. I simply want to create a plot
using the code, plot(year, peak), for the following dataset. I would
like for each site to be plotted on a separate page and the plots
saved in a directory. Would a "foreach" loop work? I tried a "by"
statement, but
2006 Nov 04
0
How do CRUD and REST work for a wizard-style application?
I''m rewriting an application with the intention to use the elegant
CRUD and REST design principles as outlined by DHH in his RailsConf
Keynote[1].
The question is: how do you use those principles for an application
that is of a sequential nature?
The application works much like an MS Windows wizard: user begins at
screen foo. After doing (or not) some stuff in screen foo, he is taken
to
2006 Jun 09
0
Re: Rails Digest, Vol 21, Issue 195
Unsubscribe
Sent from my BlackBerry? wireless handheld
-----Original Message-----
From: rails-request@lists.rubyonrails.org
Date: Fri, 9 Jun 2006 18:24:09
To:rails@lists.rubyonrails.org
Subject: Rails Digest, Vol 21, Issue 195
Send Rails mailing list submissions to
rails@lists.rubyonrails.org
To subscribe or unsubscribe via the World Wide Web, visit
2006 Apr 14
4
Application and Database Design
Hi,
I am begining the design of an order management system, and had a few questions
about the database design. For example: I have a customers table and an orders
table, with a one to many relationship. Now if i change the customers address
after the order has been created, it will be updated in any of the past orders,
and I do not wish this to happen. Is the best way to deal with this to store
2006 Jul 22
2
How to SELECT from multiple talbes with AR#find and associations?
So I want to SELECT from multiple tables, so as to be able to do
"SELECT FROM foo, bar WHERE foo.id=bar.id AND bar.baz=23".
How do I do it with AR#find?
Also, I need this for associations. has_many et. al. have :finder_sql,
which is nice, but feels like a Pyrrhic: it''s basically doing the
association in pure SQL, defeating the purpose of AR.
--
-Alder
1999 Dec 24
0
can't copy files from Win2K RTM
I am running Win2K (RTM build 2195) and ever since RC2 I have had problems
copying files from my Win2K machine to my RedHat 6.1 Linux (stock kernel
2.2.12-20) box. The Linux box is running Samba 2.0.6.
I either get:
J:\mail\archive\todo\dingo>copy dmail-122499 \\alder\mikenel
Access is denied.
Or I get a file with a funny character created on the box:
[...]
-rwxr--r-- 1 mikenel mikenel
2006 Jul 21
2
File.open behavior for ActiveRecord, to ensure save after manipulation?
File.open in core Ruby is nifty, in that it automagically closes the
file when you''re done using/manipulating it. I''m wondering whether
there''s something like that for ActiveRecord?
So you can do:
AR.find(23).open {|ar|
ar.foo = ''bar''
...
}
And ar.save would be called when the block closes.
--
-Alder
2004 Jun 17
1
pxelinux limits on imagefile for tftp transfer?
Hello specialists
In setting up a diskless X-Terminal I got stuck with the transfer of the
ramdisk from the
server to the target.
With a ramdisk image size of about 60 Mb things go well, the file gets
transfered completely and Linux boots perfectly.
With a ramdisk image size of about 104 Mb the tftp transfer of the
kernel succeds but
the transfer of the ramdisk image fails. As tftp daemon I
1997 Jul 25
1
Cross subnet domain logins
I have two sites, which are seperated by a campus network. Even with the new
'browse fix' release, I cannot convice the win 3.11 machines to do a domain
login to the server in the other subnet. A single win95 machine in the subnet
does every thing fine, domain login, network neighbourhood, the works. The
win 3.11 machines can browse for shares on the remote server and connect
fine - they
2003 Oct 11
1
Status of RealOne plugin?
I'm trying to convice a webmaster to start offering Vorbis in addition
to his current RealAudio 3(GAH!) web streams. I was just wondering what
the status on the RealOne/Helix DNA plugin was so I could include it in
a letter I'm going to be sending him today.
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe
2006 May 18
4
How do you delete a session variable?
Hi
Let''s say we set session[:foo] = ''bar''. Now we want to remove the :foo
key completely. How do you do that?
Appearantly, session is a CGI::Session [1] instance, so it doesn''t
have #delete like Hash. I tried:
session[:foo] = nil
But then debug(session) shows an empty :foo key. I''d like to remove
that key, as my session is already pretty crowded. Is
2006 Apr 04
4
Maintaining and securing the "Perfect Rails/Debian/Lighttpd Stack"
Hi there
I''m planning to build "The Perfect Rails/Debian/Lighttpd Stack",
published by Ezra Zygmuntowicz and Sean Schertell at
http://brainspl.at/rails_stack.html
I''m wondering what sort of constant maintanance that setup would
incur. What actions have be regularly performed to keep this setup
healthy and secure under normal conditions?
Alder
2006 May 06
3
Storing additional data on join tables with Rails
Hi there
I need to store additional attributes on join table. Searching the
Wiki [1] revealed two possible methods:
1) push_with_attributes, as described by Justin Palmer [2].
Unfortunately, "this method is now deprecated" [3]. Even if it wasn''t,
there seem to be inherent problems with that approach, for example
with updating those additional attributes, though Joshua Muheim
2006 Jun 28
2
Saving and reproducing a POST request.
Hi
I have an action which saves the originating resource from which it
was called, and returns to it later. This is done by setting:
session[:return_to] = request.referer
...
redirect_to(session[:return_to])
Which works great for GET resources. The problem is that POST
variables aren''t kept in request.referer, so this method fails when
the originating resource is a a POST.
2004 Jun 25
0
X11 application fails come up but xclock and xterm come up
debug1: X11 connection requested.
debug2: fd 20 setting TCP_NODELAY
debug2: fd 20 is O_NONBLOCK
debug2: fd 20 is O_NONBLOCK
debug1: channel 3: new [X11 connection from 127.0.0.1 port 47773]
debug1: channel 3: open confirm rwindow 3000 rmax 35840
debug1: server_input_channel_req: channel 3 request exit-status reply 0
debug1: session_by_channel: unknown channel 3
debug1: dump: used 1 session 0
2009 Jul 13
4
is Asterisk reliable for a call center application??
i am asked to implement a call center of 50 seats for my company , and i was wondering if Asterisk can fit this as a relaibale and low price system
is it mature enough for this task??
best regards
Gers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090712/b5bab36d/attachment.htm
2006 Apr 08
2
ActionView::Helpers::FormHelper instance methods should take an object reference rather than an object_name.
Hi
ActionView::Helpers::FormHelper methods (e.g. #text_field,
#check_box...) take object_name as an argument. From this argument
they infer a name that is supposed to contains the reference to the
relevant object.
I can''t see why the FormHelper methods were designed that way.
Compared to simply passing them a reference, the current way seems too
complicated and an invitation to problems
2006 May 10
2
Exploring ActiveRecord::Base#serialize
Hi
I was recently taught about the useful ActiveRecord::Base#serialize.
It''s very useful for persisting arbitrary objects through the regular
database. For example, say you want to store a Set of all the years a
Convention took place. You do:
class Convention < ActiveRecord::Base
serialize :years, Set
end
This effectively creates a Convention#years attribute, which is a set:
you