<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -135,6 +135,8 @@ module Authorization
             @options[model_symbol]
           elsif instance_variables.include?( '@'+model_name )
             instance_variable_get( '@'+model_name )
+          elsif respond_to?(model_symbol)
+            send(model_symbol)
           # Note -- while the following code makes autodiscovery more convenient, it's a little too much side effect &amp; security question
           # elsif self.params[:id]
           #  eval_str = model_name.camelize + &quot;.find(#{self.params[:id]})&quot;</diff>
      <filename>lib/authorization.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7ef175223b65367c44ba18fa9416f8b25be6ad5a</id>
    </parent>
  </parents>
  <author>
    <name>Donald Ball</name>
    <email>donald.ball@gmail.com</email>
  </author>
  <url>http://github.com/DocSavage/rails-authorization-plugin/commit/7d5b6efeee5b160186e96e6ce298d7b6f7d31ba4</url>
  <id>7d5b6efeee5b160186e96e6ce298d7b6f7d31ba4</id>
  <committed-date>2009-01-09T14:15:44-08:00</committed-date>
  <authored-date>2009-01-08T11:44:01-08:00</authored-date>
  <message>allowing get_model to send(:model_symbol)

Signed-off-by: Glenn Rempe &lt;glenn@rempe.us&gt;</message>
  <tree>5f1690635724815a68da15488e2d5939bf983672</tree>
  <committer>
    <name>Glenn Rempe</name>
    <email>glenn@rempe.us</email>
  </committer>
</commit>
