Displaying 20 results from an estimated 2000 matches similar to: "Override coulmn data type - urgent"
2006 Jul 12
11
ruby rails performance
Hi-
We just finished our app and I tested for performance with httperf. Our
setup is browser -> apache2.2-> mod_poxy balancer-> mongrel cluster -> 3
mongrel servers.
I have noticed that the total request per second is is about 7.5. When I
increase the no of mongrel to 5, it inches up to 8 req/s.
My question is how bad or good this number is? We are on a old dell 2400
machine
2009 Mar 27
3
ANNOUNCE: Hirb - A gem enhancing your script/console
Hi,
I''m announcing Hirb, a mini view framework which enables script/
console to provide custom views.
Out of the box your activerecord objects come back as ascii tables.
You can also configure your tree-based models to return as ascii
trees:
Numeric
|-- Float
|-- Integer
| |-- Bignum
| `-- Fixnum
|-- Date::Infinity
`-- Rational
I''ve written two tutorials on
2006 Jun 30
1
running in production mode
I am running apache with mod_fastcgi on Linux - I would like to run my
app in production mode, but I could not. Following is what I have in my
httpd.conf. Can someone tell me why it does not recognize the env
variable for production? The app always runs under development mode i.e
ignores the RAILS_ENV directive.
thanks/ thila.
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
2006 Jun 28
5
Production deployment
Gang-
We are getting ready to launch our ROR application; the last item
remaining is the deployment platform. For testing, we had used Apache +
MOD_FastCGI. I am not that impressed with it; sometimes it has strange
effects. For example, when we start the application, for about 5 minutes
or so, the app is very unstable and it gets better over time.
My questions is .. should I go with (1)
2006 Aug 14
3
New line char in a text area field on DISPLAY
I have a text_area to accept upto 1000 chars, which is stored as a blob
in mysql. When I try to display the saved data, I dont see the new line
characters - however I could see the newline characters in EDIT MODE. So
my newline char is lost during displaying. Any ideas how to fix it.
thanks
thila
--
Posted via http://www.ruby-forum.com/.
2006 Jan 18
1
Ruby and PDF creation...
Hi-
I need to create PDF docs on the fly with data from a database. I see
couple of options floating around to achieve this in Ruby. Can anyone
recommend the best way to do this? Also any helpful hints or sample
programs will be appreciated.
Thanks
Thila
--
Posted via http://www.ruby-forum.com/.
2009 May 27
2
problem with centos upgrade
Dear All,
I have a centos 5 server running my mail and Dns working fine
but when i try to do u yum ugrade or yum update it gives me lots of perl
errors and it terminates
OS is centos 5 (final)
the part of errors reported
---------------------------------
file /usr/lib/perl5/5.8.8/Math/BigFloat.pm from install of
perl-5.8.8-18.el5_3.1 conflicts with file from package
perl-Math-BigInt-1.86-1
2006 Jun 20
3
Saving an array of objects
How do I save an array of obects into the database?
For now I am doing
for a in array
a.save
end.
I am sure there must be an easy way to do this.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 08
6
J2EE equivalent
Gang-
1. Is there anything in Ruby that handles the .properites files similar
to the J2EE application servers. Or do I need to define all of the
properties as constants?
2. Is there anyway I can load some of my classes (such as singletons)
during the startup? I am looking for the startup classes that J2EE
containers provide.
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jun 21
2
access to application.rb methods
Why can''t I access the utility methods defined in applicaion.rb from the
model classes? If that does not work, where is the best place to put
common utility methods that must be available to all the models.
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Nov 28
2
(no subject)
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am
coming up with a strange error when trying to create a SpinCtrl:
class DatePicker < Wx::Dialog
def initialize
super(nil, :title => "Pick a date...")
arrange_vertically(:padding => 5)
@month = Wx::SpinCtrl.new(self) # line 19
add(@month)
end
end
gives error:
2006 Jun 30
3
gem Rmagick install problem on Linux
I get the following error when I try to install Rmagic (via gem) on
Linux. Do I need to install anyting before installing rmagic? This
worked seamlessly on windows. What the best way to install it on Linux.
I am on RedHat ES 3. /thanks
-thila
Attempting local installation of ''rmagick''
Local gem file not found: rmagick*.gem
Attempting remote installation of
2008 Jun 03
9
clients hang on large PUTs to Mongrel::HttpHandler-based web service
Hi folks,
I have a problem with a storage web service our group wrote using
Mongrel::HttpHandler We have a consistent problem when using
http PUT to this service when the data is larger than about 4 GB.
The web service actually retrieves and processes the data, but the
clients hang - the TCP connection is still in the ESTABLISHED
state on the client side, but the TCP session no longer exists on
2006 Jun 27
1
Static pages
I have lot of static pages in my applications (FAQs, Contacts, Privacy
etc..) What is the best way to handle (deploy) these pages in my
application. I am using Apache with fastcgi. I would like to deliver the
static pages from the apache itself.
Basically how the deployment is done? The catch is the user should be
easily navigate between the static and dynamic contents.
thanks
thila
--
2006 Jul 10
2
File_Column error msg "Image location invalid image"
I got a strange problem. My image upload worked fine in my XP. However
after deploying to Linux, I am not able to upload images from XP machine
- I get "Image location invalid image" error message.
However, I am able to upload images from linux boxes. Can anyone tell me
what would cause this problem? Is there any setting in file_column that
are specific to the deployment server os?
2007 Nov 13
4
question about activerecord test_numeric_fields in base_test.rb
There''s a test for activerecord called test_numeric_fields in
base_test.rb. here''s the test
def test_numeric_fields
m = NumericData.new(
:bank_balance => 1586.43,
:big_bank_balance => BigDecimal("1000234000567.95"),
:world_population => 6000000000,
:my_house_population => 3
)
assert m.save
m1 =
2006 Jan 18
3
search with like operation from a table
I have a table with the list of business name and address in it. It may
contain 1 million rows. The users want to look up into this table based
on the business name. The simple solution is to use LIKE in mysql, but I
am worried about performance, since the user load will be very high for
this system.
Any suggestion on how to handle the potential performance issue? How can
i use a search
2005 Dec 15
8
slightly OT - Ruby division
Hey all,
In my code, it seems that when I divide two integers, the result is an
integer. Is there any way to make it such that when I divide two integers,
the result is a double?
Any help appreciated,
Jin
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 29
2
Has any one seen this error message
I am truying to install the plugin ("ruby script/plugin install
engines"). But I get this big error. Any help?
D:\develop\Ruby\workspace\a2>ruby script/plugin install engines
script/plugin: No such file or directory - svn --version
script/plugin: No such file or directory - svn ls
http://dev.rubyonrails.com/svn
/rails/plugins/
2008 Oct 20
1
LC_VIRTUAL with Wx::ListCtrl
Wx::ListCtrl#set_item_count appears to be broken. If I pass it
anything but a Fixnum (is_a Integer), it crashes and says it needs a
"long" (which Fixnum should appease), but if I pass it a Fixnum it
crashes with "cannot convert nil into String."
Latest WxRuby. Windows Vista.
This makes using LC_VIRTUAL impossible.
-- Eric Will // xmpp:rakaur@malkier.net