tag:blogger.com,1999:blog-11788780.post4322123418358756655..comments2023-12-29T13:22:33.104-08:00Comments on JJinuxLand: Rails: authlogic Code Reviewjjinuxhttp://www.blogger.com/profile/03270879497119114175noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-11788780.post-89152393839534624102009-10-15T13:11:57.066-07:002009-10-15T13:11:57.066-07:00Thanks for reading, Andy!Thanks for reading, Andy!jjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-5760375441034186342009-10-14T16:56:31.049-07:002009-10-14T16:56:31.049-07:00nice post, not what I was looking for but I still ...nice post, not what I was looking for but I still took the time to read & now comment!<br /><br />it's refreshing to see a ruby review from an "outsider"Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11788780.post-1029482422737574462009-08-22T17:31:55.696-07:002009-08-22T17:31:55.696-07:00That seems natural, otherwise you couldn't do ...That seems natural, otherwise you couldn't do this:<br /><br />check_sanity rescue cry_for_help<br /><br />cry_for_help shouldn't be evaluated unless check_sanity raises an exception.jjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-82159998859776475692009-08-22T16:56:19.963-07:002009-08-22T16:56:19.963-07:00Just to point out:
Unlike the "if/unless&quo...Just to point out:<br /><br />Unlike the "if/unless" and "while/until" post-expression modifiers, the inline rescue evaluates after the prepended expression.<br /><br />e.g.<br /><br />For:<br />(1 + 1) if (1 + 2)<br />3 is evaluated first.<br /><br />But:<br />(1 + 1) rescue (1 + 2)<br />2 is evaluated first.<br /><br />Just to point out.raichuhttp://raichu.google.comnoreply@blogger.com