Hai All, I have got this problem. I dont know how to solve this problem. I am using Windows os, Error: Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html Regards Selva -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Check production log, you will find the exact error! --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hello, I am currently working with a form. Here is my error handling code. if !@licenseinstance.save flash[:notice] = "error... blah blah blah" render :action => "index" end When ever I use this render call I keep getting the following... Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html Not all time time but sometimes. Has it got somehting to do with the "render" call? I noticed it started when i changed that form a "redirect_to" to a "render" so i could display my form error details. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, 2006-12-18 at 02:01 +0100, Stewart wrote:> Hello, > > I am currently working with a form. Here is my error handling code. > > if !@licenseinstance.save > flash[:notice] = "error... blah blah blah" > render :action => "index" > end > > When ever I use this render call I keep getting the following... > > Application error > > Change this error message for exceptions thrown outside of an action > (like in Dispatcher setups or broken Ruby code) in public/500.html > > > Not all time time but sometimes. Has it got somehting to do with the > "render" call? I noticed it started when i changed that form a > "redirect_to" to a "render" so i could display my form error details.---- It''s far easier to debug in development mode where you will get meaningful errors on screen than in production mode which by design suppresses the errors. Generally when I have run into this issue, it''s because the action being rendered requires reload of instance variables that aren''t automatically reloaded. Craig --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Craig White wrote:> On Mon, 2006-12-18 at 02:01 +0100, Stewart wrote: >> >> Application error >> >> Change this error message for exceptions thrown outside of an action >> (like in Dispatcher setups or broken Ruby code) in public/500.html >> >> >> Not all time time but sometimes. Has it got somehting to do with the >> "render" call? I noticed it started when i changed that form a >> "redirect_to" to a "render" so i could display my form error details. > ---- > It''s far easier to debug in development mode where you will get > meaningful errors on screen than in production mode which by design > suppresses the errors. > > Generally when I have run into this issue, it''s because the action being > rendered requires reload of instance variables that aren''t automatically > reloaded. > > CraigThanks for that insite Craig, Seems that it can be a number of issues not just one. Going through the logs has helped some... -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Every time that I change code in a .rb file, my Ruby application errors for about 5 minutes and then resolves. This is extremely frustrating -- when I add a route, or do just about anything in ruby code, this happens, making development extremely slow. Error: Application error Rails application failed to start properly" Once in a while it does not happen. Is this a common occurrence, is it supposed to happen, or is there something wrong with my development environment? (I am using Bluehost.com, a shared server environment) -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, does this issue also happens on your local machine? If it does, let''s start there with the OS and other relevant information. If this isn''t the case, I would recommend getting into contact with your hosting company. Good luck, -Conrad On 12/19/06, Bryan Cox <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Every time that I change code in a .rb file, my Ruby application errors > for about 5 minutes and then resolves. This is extremely frustrating -- > when I add a route, or do just about anything in ruby code, this > happens, making development extremely slow. > > Error: > Application error > Rails application failed to start properly" > > Once in a while it does not happen. Is this a common occurrence, is it > supposed to happen, or is there something wrong with my development > environment? (I am using Bluehost.com, a shared server environment) > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad, I take it that it isn''t normal behavior, then. I''ve had troubles just getting MySQL and Rails installed on my local machine (mostly problems with MySQL), which is why I am developing remotely. Knowing that this isn''t a normal behavior, I feel more confident asking my hosting company for a resolution from them. Thanks. BC Conrad Taylor wrote:> Hi, does this issue also happens on your local machine? If it does, > let''s start there with the OS and other relevant information. If this > isn''t the case, I would recommend getting into contact with your > hosting company. > > Good luck, > > -Conrad-- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---