<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -11,7 +11,10 @@ module DataMapper
         include DataMapper::Is::Markup::InstanceMethods
         
         #merge in default options
-        options = {:filter_property =&gt; :filter_type, :markup_property =&gt; &quot;#{options[:source]}_html&quot; }.merge(options)
+        options = {
+          :filter_property =&gt; :filter_type, 
+          :markup_property =&gt; &quot;#{options[:source]}_html&quot;.to_sym 
+        }.merge(options)
         
         # must at least specify a source property to generate the filtered Text
         raise Exception.new(&quot;You must specify a :source&quot;) unless options.include?(:source)
@@ -69,7 +72,7 @@ module DataMapper
         
         def apply_filter
           if new_record? || attribute_dirty?(self.class.source_property) || attribute_dirty?(self.class.filter_property)
-            markup_property = generate_markup(self.send(:filter_type))
+            attribute_set(self.class.markup_property, generate_markup(self.send(:filter_type)))
           end
         end
         
@@ -86,12 +89,6 @@ module DataMapper
           end
         end
         
-        protected
-        
-        def markup_property=(str)
-          self.send(&quot;#{self.class.markup_property}=&quot;, str)
-        end
-        
       end # InstanceMethods
  
     end # Markup</diff>
      <filename>lib/dm-is-markup/is/markup.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ecca10cb242ef67f4644e09becc05a59968e8b48</id>
    </parent>
  </parents>
  <author>
    <name>William Smith</name>
    <email>wbsmith83@gmail.com</email>
  </author>
  <url>http://github.com/aq1018/dm-is-markup/commit/fa6d3388028f56e048e3a94974ecdefa1e5cfe80</url>
  <id>fa6d3388028f56e048e3a94974ecdefa1e5cfe80</id>
  <committed-date>2008-11-26T14:17:22-08:00</committed-date>
  <authored-date>2008-11-26T14:17:22-08:00</authored-date>
  <message>tweaks</message>
  <tree>bb60084b006689e15f099b0c749cf978fa3b2038</tree>
  <committer>
    <name>William Smith</name>
    <email>wbsmith83@gmail.com</email>
  </committer>
</commit>
