[Rails] Re: help

2009-07-20 Thread Developer In London
a bit more info would be useful. 2009/7/20 marce...@gmail.com > > > > > > -- cashflowclublondon.co.uk ("`-''-/").___..--''"`-._ `6_ 6 ) `-. ( ).`-.__.`) (_Y_.)' ._ ) `._ `. ``-..-' _..`--'_..

[Rails] Re: rails hyperthreading on Quad core

2009-07-02 Thread Developer In London
i found thin seems to run faster then mongrel in my app. just my 2 cents. nayeem 2009/7/2 Kuros Yalpani > > Roderick van Domburg wrote: > > Kuros Yalpani wrote: > >> Hi, my video sharing website (politube.org) that I developed with > rails, > >> runs on lighttpd/fcgi (I know it is obsolete by n

[Rails] rails application mysteriously takes a big chunk of memory

2009-06-26 Thread Developer In London
I seem to be getting a problem where my rails application seems to be leaking memory when I load a page. It starts off at about 737mb free. After I load my page it comes to about 603 mb free. When I restart the thin server the memory is restored, but thin does complain that it is waiting for a proc

[Rails] Re: Rails Hosting: Slicehost vs. Rimuhosting

2009-06-22 Thread Developer In London
2009/6/22 Marnen Laibow-Koser > > Developer In London wrote: > > I use Mosso instead of slicehost. With a bit of sysadmin skills you > > should > > be able to get your rails app up and running very quickly. > > Good to know. Mosso looks interesting, but I'

[Rails] Re: Rails Hosting: Slicehost vs. Rimuhosting

2009-06-22 Thread Developer In London
I use Mosso instead of slicehost. With a bit of sysadmin skills you should be able to get your rails app up and running very quickly. The documentation are more then adequate. They own slicehost so you dont get anything different, just a slightly cheaper price. I am yet to find any hosting company

[Rails] how to check if a record lock is in place

2009-06-17 Thread Developer In London
does anyone know how i can check if a record has a lock in place before I attempt to lock the record? Eg # <-- check here if the specific record is already locked. # if not locked MyModel.lock! # else # skip to the next model. thanks nayeem --~--~-~--~~~---~--~~

[Rails] Re: max function in ruby

2009-06-17 Thread Developer In London
thanks! 2009/6/17 Colin Law > > 2009/6/17 Developer In London : > > is there a max function in ruby? > > > > eg max(number1, number2) > > See http://www.ruby-doc.org/core/classes/Enumerable.html > so > [1,3,2].max #=> 3 &g

[Rails] max function in ruby

2009-06-17 Thread Developer In London
is there a max function in ruby? eg max(number1, number2) thanks nayeem --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroup

[Rails] Re: Rails Hosting Questions

2009-06-10 Thread Developer In London
2009/6/10 Älphä Blüë > > Okay I did some more research into slicehost and spoke with people > regarding that site: > > The good news is they have a good article foundation for setting up > slices. > > However, each slice (vps) is bare bones and has to be setup completely > from scratch. This mea

[Rails] Re: Rails Hosting Questions

2009-06-10 Thread Developer In London
I would also look at mosso or rackspacecloud. Their price as I said before is a bit more competitive then their own Slicehost. 2009/6/10 Älphä Blüë > > -- cashflowclublondon.co.uk ("`-''-/").___..--''"`-._ `6_ 6 ) `-. ( ).`-.__.`)

[Rails] Re: Rails Hosting Questions

2009-06-08 Thread Developer In London
I have a virtual server with slicehost. They are quite good so far for what I need and keeps the cost low. I would also look at mosso, who own slicehost and offers a pay as you go version which works out cheaper. Nayeem 2009/6/8 Robby Russell > > J.D., > > You might check us out at http://rail

[Rails] Re: How to access parent property

2009-06-07 Thread Developer In London
That Works! Thanks! 2009/6/7 Marnen Laibow-Koser > > developerinlondon wrote: > > Hi, > > > > I am having difficulties accessing parent properties/attributes from > > the child. Anyone could shed some lights onto this? > > > > Heres a sample code: > [...] > > Your sample code will not do the job

[Rails] Re: How to access parent property

2009-06-07 Thread Developer In London
No I need to have it so that Child has one parent. I managed to get a reference to the parent by using the ObjectSpace. But its almost a hack then a nice way of doing it. 2009/6/7 Conrad Taylor > > Hi, when I saw your models, I was thinking that you should have the > following relationships: >