<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Blah Blah Woof Woof comments on Rails Tip: Pointing observe_field to an invalid DOM ID breaks all subsequent observers</title>
    <link>http://vault.openmonkey.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Blah Blah Woof Woof comments</description>
    <item>
      <title>"Rails Tip: Pointing observe_field to an invalid DOM ID breaks all subsequent observers" by triley</title>
      <description>&lt;p&gt;Be careful when use use Rails' &lt;a href="http://api.rubyonrails.com/classes/ActionView/Helpers/PrototypeHelper.html#M000535"&gt;observe_field&lt;/a&gt; helper.  If you point observe_field to an invalid DOM ID, then all subsequent field observers on the page will fail to work.&lt;/p&gt;

&lt;p&gt;This is easily avoided if you are using the helper manually.  However, if you are programatically generating observers, they do not fail gracefully, so make sure that you only create them if the necessary IDs are present.&lt;/p&gt;

</description>
      <pubDate>Fri, 10 Aug 2007 00:28:00 PDT</pubDate>
      <guid>&lt;a href="/articles/2007/08/10/rails-tip-pointing-observe_field-to-an-invalid-dom-id-breaks-all-subsequent-observers"&gt;Rails Tip: Pointing observe_field to an invalid DOM ID breaks all subsequent observers&lt;/a&gt;</guid>
      <link>&lt;a href="/articles/2007/08/10/rails-tip-pointing-observe_field-to-an-invalid-dom-id-breaks-all-subsequent-observers"&gt;Rails Tip: Pointing observe_field to an invalid DOM ID breaks all subsequent observers&lt;/a&gt;</link>
    </item>
  </channel>
</rss>
