[Rails] Re: How do you scale horizontally with Rails 3.2 on EC2?

2012-05-03 Thread Claudio Poli
Hello Fred, gaining advantage of EBS indeed is the ideal solution. Cheers -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com.

[Rails] How do you scale horizontally with Rails 3.2 on EC2?

2012-05-01 Thread Claudio Poli
Hello guys, currently I'm running a staging environment which should serve the purpose to replicate the production one as close as possible before the launch. To keep the staging environment's costs down I tried using a series of m1.small instances, the Rails one hosts a stack composed by Rails 3.

[Rails] Re: streaming a large XML file; optimizing large file downloads in RAILS

2010-10-13 Thread Claudio Poli
On 11 Ott, 20:44, ehansen486 wrote: > I occasionally need to stream a large XML data file that represents > key data in a DB.  I'm porting over an application from PHP Symfony, [...] > This particular issue I can certainly work around but it's > disappointing if it's true that there's no way in ra

[Rails] after_update should not be called

2010-09-21 Thread Claudio Poli
Hello, consider this code: http://pastie.org/1173871 Why after_update in Subscription model gets called? I'm using Rails 3. Thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to thi

[Rails] Re: bundler 1.0.0 RC makes me crazy (NOT solved)

2010-09-20 Thread Claudio Poli
Jacques Fuentes wrote: > This was not the issue for me either. When using bundle install > --deployment, everything works just fine, but this is a development > server and I do not want gems installed to vendor/bundle. The problem is > still with a gem specifying a git repo and a :ref (does not

[Rails] Re: accepts_nested_attributes_for and belongs_to

2009-12-01 Thread Claudio Poli
ub:http://github.com/canonical/OrderItemsExample > > > > -Original Message- > From: Claudio Poli [mailto:masterk...@gmail.com] > Sent: Tuesday, December 01, 2009 10:08 AM > To: Ruby on Rails: Talk > Subject: [Rails] accepts_nested_attributes_for and belongs_to &g

[Rails] accepts_nested_attributes_for and belongs_to

2009-12-01 Thread Claudio Poli
hi everyone, using Rails 2.3.5 I cannot update the attributes for a belonging object, pastie: http://pastie.org/722059 ideas? thanks -- 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-t...@go

[Rails] Template is missing, latest edge

2009-05-11 Thread Claudio Poli
hi everyone, I have a project that is using a good snapshot of edge, however I tried some latest rails builds and I got some weird errors. when using a respond_to block in a controller, rails isn't able to find the related view. this is a pastie, with a backtrace and controller code: http://pasti