Travis Tilley
|
15915ad6e7
|
Merge commit 'nbibler/dynamic_initial_state'
|
2009-05-27 20:05:43 -04:00 |
|
Travis Tilley
|
bb68b00b7e
|
Merge branch 'basiszwo/master'
|
2009-05-27 19:50:51 -04:00 |
|
Travis Tilley
|
973633ce9e
|
Merge branch 'veebox/master'
|
2009-05-27 19:50:20 -04:00 |
|
Stefan Botzenhart
|
f9f07ff0f4
|
named scopes now use table_name for prefixing aasm column in named. fixed bug in combination with norman-friendly_id
|
2009-05-12 22:19:28 +02:00 |
|
Christos Pappas
|
1ca1366d86
|
bypass validation on write state
|
2009-04-24 13:40:14 +10:00 |
|
factorylabs
|
26a69e7894
|
Fixed alias_method_chain calls in active_record_persistence so that AASM doesn't blow up with railroad.
|
2009-03-02 14:43:38 -07:00 |
|
Nathaniel Bibler
|
f87565f2e4
|
Added initial state Proc support.
Added more complex example to README
|
2009-02-26 12:36:35 -05:00 |
|
Josh Knowles
|
f1748118ba
|
Don't add named_scope if the ActiveRecord object responds to the method name already (such as 'new')
Signed-off-by: Scott Barron <scott@elitists.net>
|
2008-12-30 22:54:12 +08:00 |
|
Jon Distad
|
3eb2ea20f2
|
bang event methods now return false and dont transition on failed save
|
2008-10-03 11:22:51 -04:00 |
|
Edgecase Pair One
|
e517a0b5e4
|
[Jon] increased the scope of active_record persistence to save the whole model
|
2008-10-03 10:15:35 -04:00 |
|
Scott Barron
|
3d69497ee3
|
Take state column for AR persistance out of class variables and add them to the
StateMachine object.
|
2008-06-22 11:17:12 -04:00 |
|
Scott Barron
|
83bbe4d082
|
Merge in Jan De Poorter's [DefV] named_scope addition to AR persistence layer, with some organizational clean up.
|
2008-05-30 14:23:23 -07:00 |
|
Scott Barron
|
9e348d718b
|
Add .find_in_state, .count_in_state, .calculate_in_state back to AR layer
|
2008-05-29 13:10:31 -07:00 |
|
Jeff Dean
|
277373b41a
|
updated docs
|
2008-04-29 02:08:51 -04:00 |
|
Jeff Dean
|
a0bb1c404c
|
make sure the 2 fields are in sync by using before_validation_on_create
|
2008-04-29 01:58:05 -04:00 |
|
Jeff Dean
|
cb6bd4f534
|
* Specs and bug fixes for the ActiveRecordPersistence, keeping persistence columns in sync
Allowing for nil values in states for active record
New non-(!) methods that allow for firing events without persisting [Jeff Dean]
|
2008-04-29 01:27:56 -04:00 |
|
Scott Barron
|
05249c09a3
|
Fix AR persistence so new records have their state set. [Joao Paulo Lins]
Ensure that a state is written for a new record even if aasm_current_state or
{state}= are never called.
|
2008-02-27 15:32:52 -05:00 |
|
Scott Barron
|
ebb36e697d
|
Some automatic persistence hooks for ActiveRecord objects
|
2008-02-22 15:46:31 -05:00 |
|