<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -224,8 +224,8 @@ module AwesomeFields
       def html_and_other_options_from(args)
         opts, html_opts = {}, {}
 
-        opts = args.pop if args.last.is_a?(Hash)
-        html_opts = opts and opts = args.pop if args.last.is_a?(Hash)
+        opts = args[-1] if args[-1].is_a?(Hash)
+        html_opts = opts and opts = args[-2] if args[-1].is_a?(Hash)
 
         return opts, html_opts
       end</diff>
      <filename>lib/awesome_fields/awesome_field_helpers.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3ad3dc49b65b70278176d6b4418aff485269a235</id>
    </parent>
  </parents>
  <author>
    <name>Antonio Salazar</name>
    <email>savedfastcool@gmail.com</email>
  </author>
  <url>http://github.com/Shadowfiend/awesome_fields/commit/4b52e1516edd21bed7e1e0c0f175b9c642648bae</url>
  <id>4b52e1516edd21bed7e1e0c0f175b9c642648bae</id>
  <committed-date>2008-11-15T16:11:00-08:00</committed-date>
  <authored-date>2008-11-15T16:11:00-08:00</authored-date>
  <message>Fixed html_and_other_options_from to not modify the passed args.

This is so that the args can be passed on to super calls untouched. Based on
a patch by pzingg.</message>
  <tree>56c973f7a0522f332ce9226ca17b12c1e0d72160</tree>
  <committer>
    <name>Antonio Salazar</name>
    <email>savedfastcool@gmail.com</email>
  </committer>
</commit>
