[Rails] Re: Re: Why Heroku so slow?

2012-03-30 Thread Dries Steenhouwer
Adrian Caceres wrote in post #1044103: > While on the subject does anyone know what heroku's timeout is before it > brings down an app? It will bring your app down after 1 hour of inactivity. Our problem was also that the first request takes a lot of time because the application has to start-up ag

[Rails] Problems with database config and prepare_to method

2011-12-22 Thread Dries Steenhouwer
In my production environment I have 1 server running as mainappserver ( ex. 10.10.10.10 ) ( Rails + Apache2 + Mysql ) and during heavy periods we startup a second application server that just handle the Rails application calls. The second application server ( ex. 20.20.20.20 ) connects to the mysq

[Rails] Problem with nested forms in Rails 3 with remote true

2010-12-26 Thread Dries Steenhouwer
I have an index page for people, on this page there is a button 'add person' that shows a hidden form when you click on this button. The problem is, when I submit, the nested attributes for pictures are not send as parameters. When I just use the normal form in the url 'person/new/' then it works,

[Rails] Installing rmagick gem with RVM

2010-11-15 Thread Dries Steenhouwer
Hello, I start using RVM for using Rails 3 and Rails 2 for some applications. At the moment I can't install the rmagick gem in the new Ruby environment. I use Mac OSX and I installed already imagemagick via ports and this was working before using RVM, I succeed also to install the rmagick gem bef

[Rails] Paperclip polymorphic styles problem

2010-07-07 Thread Dries Steenhouwer
I made my model Picture polymorphic and this model use paperclip. Now I want to specify :styles for the model that have many pictures, but I can't find a solution to fix this. At the moment I use this and all is working good : http://pastie.org/1034105 But for example for model Brand I need diffe

[Rails] Re: Ruby 1.9 and Searchlogic problem

2010-03-09 Thread Dries Steenhouwer
Somebody who can help me? -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to ru

[Rails] Ruby 1.9 and Searchlogic problem

2010-03-09 Thread Dries Steenhouwer
Hello, After updating our Rails app to ruby 1.9 there are some problems with searchlogic, here you can find the error : Error : wrong number of arguments (1 for 0) Full trace ( passenger ) : /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.5/lib/active_record/named_scope.rb:92:in `call' /us