<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -97,8 +97,4 @@ class &lt;%= class_name %&gt; &lt; ActiveRecord::Base
     total_votes &gt; 0
   end
   
-  def options=(arr)
-    write_attribute(:options, [*arr].map{|x| x[&quot;options&quot;]})
-  end
-  
 end
\ No newline at end of file</diff>
      <filename>generators/pollster/templates/poll.rb</filename>
    </modified>
    <modified>
      <diff>@@ -42,12 +42,6 @@ describe &lt;%= class_name %&gt; do
     @&lt;%= object_name %&gt;.total_votes.should == 1
   end
 
-  it &quot;should know how to shave the options yak&quot; do
-    @&lt;%= object_name %&gt;.options = [{&quot;options&quot; =&gt; &quot;first&quot;}, {&quot;options&quot; =&gt; &quot;second&quot;}, {&quot;options&quot; =&gt; &quot;third&quot;}]
-    @&lt;%= object_name %&gt;.save
-    @&lt;%= object_name %&gt;.options.should == [&quot;first&quot;, &quot;second&quot;, &quot;third&quot;]
-  end
-
   it &quot;should be visible for a week after its end date&quot; do
     Date.stub!(:today =&gt; Date.parse(&quot;2009-01-09&quot;))
     @&lt;%= object_name %&gt;.stub!(:ends_at =&gt; Date.parse(&quot;2009-01-07&quot;))</diff>
      <filename>generators/pollster/templates/spec/poll_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,5 @@
-&lt;div id=&quot;option&quot;&gt;
-  &lt;%% fields_for &quot;&lt;%= object_name %&gt;[options][]&quot;, option, :index =&gt; nil do |f| %&gt;
-    &lt;%%= f.text_field :options, :value =&gt; option %&gt;
-    &lt;%%= link_to_function &quot;Remove&quot;, &quot;$(this).up('.option').remove()&quot; %&gt;
-    &lt;br/&gt;
-  &lt;%% end %&gt;
+&lt;div class=&quot;option&quot;&gt;
+  &lt;input name=&quot;&lt;%= object_name %&gt;[options][]&quot; value=&quot;#{option}&quot;&gt;
+  &lt;%%= link_to_function &quot;Remove&quot;, &quot;$(this).up('.option').remove()&quot; %&gt;
+  &lt;br/&gt;
 &lt;/div&gt;
\ No newline at end of file</diff>
      <filename>generators/pollster/templates/views/_option_form.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
   s.name     = &quot;pollster&quot;
-  s.version  = &quot;0.1.2.2&quot;
+  s.version  = &quot;0.1.2.3&quot;
   s.date     = &quot;2009-01-11&quot;
   s.summary  = &quot;Easy user polling for your Rails app&quot;
   s.email    = &quot;matt@matt-darby.com&quot;</diff>
      <filename>pollster.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>91be4f52e5b71d11aa3edb2e082c9a09877f7e9e</id>
    </parent>
  </parents>
  <author>
    <name>Matt Darby</name>
    <email>matt@matt-darby.com</email>
  </author>
  <url>http://github.com/mdarby/pollster/commit/2a26467efe98d3cd12ec64c4f4d6219ccc9a80b2</url>
  <id>2a26467efe98d3cd12ec64c4f4d6219ccc9a80b2</id>
  <committed-date>2009-01-13T12:50:22-08:00</committed-date>
  <authored-date>2009-01-13T12:50:22-08:00</authored-date>
  <message>Using smarter dynamic form partial that doesn't need setter massaging</message>
  <tree>64148e18e61662af2cd3b2cfe96a8ba5759a695f</tree>
  <committer>
    <name>Matt Darby</name>
    <email>matt@matt-darby.com</email>
  </committer>
</commit>
