All of the sudden it takes about a minute to display error in development environment. Server just waits a minute before displaying standard error message. I have no idea what could cause a problem. by TheR -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 10 September 2012 11:47, Damjan Rems <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> All of the sudden it takes about a minute to display error in > development environment. Server just waits a minute before displaying > standard error message.What is the error message? Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Gintautas Å imkus
2012-Sep-10 10:56 UTC
Re: Taking about a minute do display error in development
sleep 60 somewhere in the code? 2012/9/10 Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>> On 10 September 2012 11:47, Damjan Rems <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > All of the sudden it takes about a minute to display error in > > development environment. Server just waits a minute before displaying > > standard error message. > > What is the error message? > > Colin > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Damjan Rems
2012-Sep-10 11:11 UTC
Re: Taking about a minute do display error in development
Colin Law wrote in post #1075314:> On 10 September 2012 11:47, Damjan Rems <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> All of the sudden it takes about a minute to display error in >> development environment. Server just waits a minute before displaying >> standard error message. > > What is the error message? > > ColinThere is no special error but any program error that may occur. It just waits minute before program error is displayed. Be it in controller or view or helper. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Damjan Rems
2012-Sep-10 11:12 UTC
Re: Taking about a minute do display error in development
Gintautas S. wrote in post #1075315:> sleep 60 somewhere in the code? > > 2012/9/10 Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>;-) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2012-Sep-10 11:17 UTC
Re: Re: Taking about a minute do display error in development
On 10 September 2012 12:11, Damjan Rems <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote in post #1075314: >> On 10 September 2012 11:47, Damjan Rems <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> All of the sudden it takes about a minute to display error in >>> development environment. Server just waits a minute before displaying >>> standard error message. >> >> What is the error message? >> >> Colin > > There is no special error but any program error that may occur. It just > waits minute before program error is displayed. Be it in controller or > view or helper.Do you mean syntax errors, ruby run time errors, data validation errors? Please show an example and post the section of development.log that relates to the error. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Damjan Rems
2012-Sep-10 12:15 UTC
Re: Taking about a minute do display error in development
Colin Law wrote in post #1075319:> On 10 September 2012 12:11, Damjan Rems <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> There is no special error but any program error that may occur. It just >> waits minute before program error is displayed. Be it in controller or >> view or helper. > > Do you mean syntax errors, ruby run time errors, data validation > errors? Please show an example and post the section of > development.log that relates to the error. > > ColinThanks. It is typical situation when you tell a problem to a friend the problem resolves itself ;-) I had installed ExceptionNotifier recently and the darn thing is now sending messages also in development environment. And since my development server is not on the same firewall segment as production the message could not be sent. And there was delay. I didn''t recognized error until I tried to copy whole development log and find mail sending error at the top. thanks TheR -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Dave Aronson
2012-Sep-10 15:01 UTC
Re: Re: Taking about a minute do display error in development
On Mon, Sep 10, 2012 at 8:15 AM, Damjan Rems <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> It is typical situation when you tell a problem to a friend the > problem resolves itself ;-)Actually, this is a very good problem-solving technique. If you can''t find a human to explain it to (best because they will ask questions), try just pretending. Someone once wrote a blog post or article or some such about explaining it to his rubber duckie, and the technique has become known as rubber ducking. -Dave -- Dave Aronson, Available Secret-Cleared Ruby/Rails Freelancer (VA/DC/Remote); see www.DaveAronson.com, www.Codosaur.us, and www.Dare2XL.com for more info. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.