--- lib/acts_as_textiled.rb (revision 32) +++ lib/acts_as_textiled.rb (working copy) @@ -13,11 +13,10 @@ @textiled_unicode = "".respond_to? :chars ruled = Hash === attrs.last ? attrs.pop : {} - attrs += ruled.keys attrs.each do |attr| define_method(attr) do - textiled[attr.to_s] ||= RedCloth.new(read_attribute(attr), Array(ruled[attr])).to_html if read_attribute(attr) + textiled[attr.to_s] ||= RedCloth.new(read_attribute(attr), ruled.keys).to_html if read_attribute(attr) end define_method("#{attr}_plain", proc { strip_redcloth_html(__send__(attr)) if __send__(attr) } ) define_method("#{attr}_source", proc { __send__("#{attr}_before_type_cast") } )