public
Description: Adds the ability to call events that change the state without writing to the database
Homepage: http://acts_as_state_machine_hacks.zilkey.com/
Clone URL: git://github.com/zilkey/acts_as_state_machine_hacks.git
updated readme
zilkey (author)
Mon Apr 28 17:19:14 -0700 2008
commit  37df4d4757ddfb7efabd902ff8c240221b20dfc6
tree    857b0ba04c3f818b0156ee63cc03ee718b6a3eae
parent  5d3d46c0a71c11f920f0041bf0ec64fec7e9971b
0
...
4
5
6
 
 
 
 
 
7
8
9
...
58
59
60
61
62
 
 
 
 
 
 
 
63
...
4
5
6
7
8
9
10
11
12
13
14
...
63
64
65
 
66
67
68
69
70
71
72
73
74
0
@@ -4,6 +4,11 @@ I dig acts_as_state_machine (http://elitists.textdriven.com/svn/plugins/acts_as_
0
 
0
 When you call a method like object.event! it writes to the database, instead of updating the current state, which makes it hard to set a state before validation.
0
 
0
+== Installation
0
+
0
+ script/plugin install http://elitists.textdriven.com/svn/plugins/acts_as_state_machine/trunk/
0
+ script/plugin install git://github.com/zilkey/acts_as_state_machine_hacks.git
0
+
0
 == What this plugin does
0
 
0
 This plugin hack adds new methods without the exclamation point - it just updates the attribute. So if you have:
0
@@ -58,4 +63,10 @@ You must have the acts_as_state_machine plugin installed and the acts_as_state_m
0
 
0
 == Warning
0
 
0
-This copies methods directly from acts_as_state_machine. If acts_as_state_machine is updated, this plugin hack will likely break.
0
\ No newline at end of file
0
+This copies methods directly from acts_as_state_machine. If acts_as_state_machine is updated, this plugin hack will likely break.
0
+
0
+== For developers
0
+
0
+If you want to add your own hacks, you can fork this project on http://github.com/zilkey/acts_as_state_machine_hacks/tree/master
0
+
0
+It includes working tests, which can be the hardest part of testing a plugin.
0
\ No newline at end of file
...
1
 
...
 
1
0
@@ -1 +1 @@
0
-Mon, 28 Apr 2008 20:16:28 -0400
0
+Mon, 28 Apr 2008 20:19:06 -0400
...
56
57
58
59
 
60
61
62
...
80
81
82
 
 
 
 
 
83
84
85
...
154
155
156
 
 
 
 
 
 
 
 
 
157
158
159
...
56
57
58
 
59
60
61
62
...
80
81
82
83
84
85
86
87
88
89
90
...
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
0
@@ -56,7 +56,7 @@
0
     </tr>
0
     <tr class="top-aligned-row">
0
       <td><strong>Last Update:</strong></td>
0
- <td>Mon Apr 28 20:14:06 -0400 2008</td>
0
+ <td>Mon Apr 28 20:18:42 -0400 2008</td>
0
     </tr>
0
     </table>
0
   </div>
0
@@ -80,6 +80,11 @@ When you call a method like object.event! it writes to the database,
0
 instead of updating the current state, which makes it hard to set a state
0
 before validation.
0
 </p>
0
+<h2>Installation</h2>
0
+<pre>
0
+ script/plugin install http://elitists.textdriven.com/svn/plugins/acts_as_state_machine/trunk/
0
+ script/plugin install git://github.com/zilkey/acts_as_state_machine_hacks.git
0
+</pre>
0
 <h2>What this plugin does</h2>
0
 <p>
0
 This plugin hack adds new methods without the exclamation point - it just
0
@@ -154,6 +159,15 @@ acts_as_state_machine directory must be named
0
 This copies methods directly from acts_as_state_machine. If
0
 acts_as_state_machine is updated, this plugin hack will likely break.
0
 </p>
0
+<h2>For developers</h2>
0
+<p>
0
+If you want to add your own hacks, you can fork this project on <a
0
+href="http://github.com/zilkey/acts_as_state_machine_hacks/tree/master">github.com/zilkey/acts_as_state_machine_hacks/tree/master</a>
0
+</p>
0
+<p>
0
+It includes working tests, which can be the hardest part of testing a
0
+plugin.
0
+</p>
0
 
0
     </div>
0
 

Comments

    No one has commented yet.