<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,15 +2,15 @@ module ActiveModel
   module StateMachine
     class Event
       attr_reader :name, :success
-      
+
       def initialize(machine, name, options = {}, &amp;block)
         @machine, @name, @transitions = machine, name, []
         if machine
-          machine.klass.send(:define_method, &quot;#{name.to_s}!&quot;) do |*args|
+          machine.klass.send(:define_method, &quot;#{name}!&quot;) do |*args|
             machine.fire_event(name, self, true, *args)
           end
 
-          machine.klass.send(:define_method, &quot;#{name.to_s}&quot;) do |*args|
+          machine.klass.send(:define_method, name.to_s) do |*args|
             machine.fire_event(name, self, false, *args)
           end
         end</diff>
      <filename>activemodel/lib/active_model/state_machine/event.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>948ed346007f0383c51fd371d594576f0fc9d699</id>
    </parent>
  </parents>
  <author>
    <name>Clemens Kofler</name>
    <email>clemens@railway.at</email>
  </author>
  <url>http://github.com/rails/rails/commit/b42f53ca1fa0af0fd9cc37e2765cd9c47b100065</url>
  <id>b42f53ca1fa0af0fd9cc37e2765cd9c47b100065</id>
  <committed-date>2008-09-02T15:55:23-07:00</committed-date>
  <authored-date>2008-09-02T01:54:04-07:00</authored-date>
  <message>Some performance goodness for AM StateMatchine.

Signed-off-by: Jeremy Kemper &lt;jeremy@bitsweat.net&gt;</message>
  <tree>88233e14e53c18dac99d637ee053a6e7b143620d</tree>
  <committer>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </committer>
</commit>
