On Sep 12, 2013, at 8:56 AM, Joel Pearson <li...@ruby-forum.com> wrote:
> Just use error handling properly. > > begin > #standard code > rescue > #only runs if an error occurred > else > #only runs if an error did not occur > ensure > #always runs at the end regardless of error level > end It seems to me that OP may not even understand: begin #standard code #only runs if no error earlier in this block rescue #only runs if an error occurred end #always runs as long as all exceptions are caught and none are re-thrown -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/A0F51C7C-4BFF-466D-A14D-B1CBE1B120DC%40elevated-dev.com. For more options, visit https://groups.google.com/groups/opt_out.