<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Ruby brothers - &#1051;&#1086;&#1074;&#1080;&#1084; exception &#1074;&#1085;&#1091;&#1090;&#1088;&#1080; &#1074;&#1099;&#1088;&#1072;&#1078;&#1077;&#1085;&#1080;&#1081; Comments</title>
  <id>tag:www.rubybrothers.ru,2009:/2007/1/28/dealing-with-exceptions-inside-expressions/comments</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  <link href="http://www.rubybrothers.ru/2007/1/28/dealing-with-exceptions-inside-expressions/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2007/1/28/dealing-with-exceptions-inside-expressions" rel="alternate" type="text/html"/>
  <updated>2007-01-29T01:27:48Z</updated>
  <entry xml:base="http://www.rubybrothers.ru">
    <author>
      <name>vlmonk</name>
    </author>
    <id>tag:www.rubybrothers.ru,2007-01-28:19:37</id>
    <published>2007-01-29T01:27:48Z</published>
    <updated>2007-01-29T01:27:48Z</updated>
    <category term="Ruby on Rails"/>
    <category term="Tips &amp; Tricks"/>
    <category term="&#1053;&#1086;&#1074;&#1080;&#1095;&#1082;&#1091;"/>
    <link href="http://www.rubybrothers.ru/2007/1/28/dealing-with-exceptions-inside-expressions" rel="alternate" type="text/html"/>
    <title>Comment on '&#1051;&#1086;&#1074;&#1080;&#1084; exception &#1074;&#1085;&#1091;&#1090;&#1088;&#1080; &#1074;&#1099;&#1088;&#1072;&#1078;&#1077;&#1085;&#1080;&#1081;' by vlmonk</title>
<content type="html">&lt;p&gt;Действительно красиво.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.rubybrothers.ru">
    <author>
      <name>&#1048;&#1083;&#1100;&#1103;</name>
    </author>
    <id>tag:www.rubybrothers.ru,2007-01-28:19:35</id>
    <published>2007-01-28T15:55:16Z</published>
    <updated>2007-01-28T15:55:16Z</updated>
    <category term="Ruby on Rails"/>
    <category term="Tips &amp; Tricks"/>
    <category term="&#1053;&#1086;&#1074;&#1080;&#1095;&#1082;&#1091;"/>
    <link href="http://www.rubybrothers.ru/2007/1/28/dealing-with-exceptions-inside-expressions" rel="alternate" type="text/html"/>
    <title>Comment on '&#1051;&#1086;&#1074;&#1080;&#1084; exception &#1074;&#1085;&#1091;&#1090;&#1088;&#1080; &#1074;&#1099;&#1088;&#1072;&#1078;&#1077;&#1085;&#1080;&#1081;' by &#1048;&#1083;&#1100;&#1103;</title>
<content type="html">&lt;blockquote&gt;
	&lt;p&gt;Dmytro Shteflyuk&lt;/p&gt;

&lt;/blockquote&gt;




	&lt;p&gt;Это только в том случае, если не вылетает exception.&lt;/p&gt;


	&lt;p&gt;Я привёл плохой пример в этой заметке, так как обычно @user.name возвращает nil, а не exception&#8230;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.rubybrothers.ru">
    <author>
      <name>Dmytro Shteflyuk</name>
    </author>
    <id>tag:www.rubybrothers.ru,2007-01-28:19:34</id>
    <published>2007-01-28T14:33:28Z</published>
    <updated>2007-01-28T14:33:28Z</updated>
    <category term="Ruby on Rails"/>
    <category term="Tips &amp; Tricks"/>
    <category term="&#1053;&#1086;&#1074;&#1080;&#1095;&#1082;&#1091;"/>
    <link href="http://www.rubybrothers.ru/2007/1/28/dealing-with-exceptions-inside-expressions" rel="alternate" type="text/html"/>
    <title>Comment on '&#1051;&#1086;&#1074;&#1080;&#1084; exception &#1074;&#1085;&#1091;&#1090;&#1088;&#1080; &#1074;&#1099;&#1088;&#1072;&#1078;&#1077;&#1085;&#1080;&#1081;' by Dmytro Shteflyuk</title>
<content type="html">&lt;p&gt;А если так?&lt;/p&gt;


	&lt;p&gt;@user.name || &#8220;name not set&#8221;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.rubybrothers.ru">
    <author>
      <name>enternet</name>
    </author>
    <id>tag:www.rubybrothers.ru,2007-01-28:19:33</id>
    <published>2007-01-28T12:50:13Z</published>
    <updated>2007-01-28T12:50:13Z</updated>
    <category term="Ruby on Rails"/>
    <category term="Tips &amp; Tricks"/>
    <category term="&#1053;&#1086;&#1074;&#1080;&#1095;&#1082;&#1091;"/>
    <link href="http://www.rubybrothers.ru/2007/1/28/dealing-with-exceptions-inside-expressions" rel="alternate" type="text/html"/>
    <title>Comment on '&#1051;&#1086;&#1074;&#1080;&#1084; exception &#1074;&#1085;&#1091;&#1090;&#1088;&#1080; &#1074;&#1099;&#1088;&#1072;&#1078;&#1077;&#1085;&#1080;&#1081;' by enternet</title>
<content type="html">&lt;p&gt;Сильно. Кто бы мог подумать.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.rubybrothers.ru">
    <author>
      <name>dru</name>
    </author>
    <id>tag:www.rubybrothers.ru,2007-01-28:19:32</id>
    <published>2007-01-28T12:49:58Z</published>
    <updated>2007-01-28T12:49:58Z</updated>
    <category term="Ruby on Rails"/>
    <category term="Tips &amp; Tricks"/>
    <category term="&#1053;&#1086;&#1074;&#1080;&#1095;&#1082;&#1091;"/>
    <link href="http://www.rubybrothers.ru/2007/1/28/dealing-with-exceptions-inside-expressions" rel="alternate" type="text/html"/>
    <title>Comment on '&#1051;&#1086;&#1074;&#1080;&#1084; exception &#1074;&#1085;&#1091;&#1090;&#1088;&#1080; &#1074;&#1099;&#1088;&#1072;&#1078;&#1077;&#1085;&#1080;&#1081;' by dru</title>
<content type="html">&lt;p&gt;Супер, спасибо за совет!&lt;/p&gt;</content>  </entry>
</feed>

