Thorsten Böttger
87b13ca300
version bump to 3.0.17
2013-04-28 18:13:20 +02:00
Thorsten Böttger
991c446ca2
supporting instance level inspection for states (including permissible state, see issue #54 )
2013-04-28 17:46:16 +02:00
Thorsten Böttger
e969ef6767
supporting instance level inspection for states
2013-04-28 16:42:48 +02:00
James Herdman
1b422a537f
AASM defines constants for each state name
...
Example:
class Foo
include AASM
aasm do
state :initialized
state :calculated
state :finalized
end
end
> Foo::STATE_INITIALIZED
=> :initialized
> Foo::STATE_CALCULATED
=> :calculated
You may find this useful in custom scopes when using ActiveRecord, or
when testing your classes.
2013-03-15 00:07:01 -04:00
Thorsten Böttger
9cfb0198a2
version bump to 3.0.16
2013-01-16 22:00:54 +13:00
Thorsten Böttger
5619789c3d
added support for localized state names (on a class level, like Record.aasm.states.map(&:localized_name))
2012-12-27 10:23:41 +13:00
Thorsten Böttger
ccdb2c9790
supporting event inspection for to-states transitions (Event#transitions_to_state?)
2012-11-06 11:51:05 +13:00
Thorsten Böttger
05d64cdf37
supporting ActiveRecord transactions when firing an event
2012-10-24 21:03:09 +13:00
Thorsten Böttger
a70de40486
aasm_from_states_for_state now supports to filter for specific transition
2012-10-19 23:05:43 +13:00
Thorsten Böttger
8f974eed8b
added support for from state retrieval (for any given state)
2012-10-19 22:44:20 +13:00
Thorsten Böttger
de80feaa39
version bump to 3.0.10
2012-10-19 20:22:00 +13:00
Thorsten Böttger
6357675b6b
version bump to 3.0.9 (guard checks (e.g. may_edit?) now support guard parameters as well)
2012-09-26 12:35:13 +12:00
Thorsten Böttger
949bb42a4d
version bump to 3.0.8 (fixed yard issue)
2012-06-17 18:13:07 +12:00
Thorsten Böttger
1dc08855c7
version bump to 3.0.7 (removed deprecation warning with Rails >= 3.1)
2012-06-07 09:05:22 +12:00
Thorsten Böttger
d8a4417671
removed deprecation warning when localizing aasm state names (look at https://github.com/rubyist/aasm/issues/38 for details)
2012-06-06 22:32:52 +12:00
Thorsten Böttger
54b44c93e4
new version 3.0.6: bugfix: if configured to skip validation the code does not validate anymore
2012-05-17 22:05:43 +12:00
Thorsten Böttger
32c1a242ef
version bump to 3.0.5
2012-04-18 08:36:45 +12:00
Thorsten Böttger
67b6f8d5ca
version bump to 3.0.4
2012-04-02 22:11:35 +12:00
Thorsten Böttger
ec724d5a48
version bump to 3.0.3
2012-02-23 00:08:09 +13:00
Thorsten Böttger
7165ec6943
version bump (ActiveRecord persistence can ignore validation when trying to save invalid models)
2012-01-16 17:42:53 +01:00
Thorsten Böttger
921cfdad5c
ActiveRecord persistence can ignore validation when trying to save invalid models
2012-01-16 17:27:15 +01:00
Thorsten Böttger
ee9b1cd19c
version bump to 3.0.1 (support for mongoid)
2011-12-21 12:39:02 +01:00
Thorsten Böttger
8f0ff1b0ab
version bump to 3.0.0 (new DSL)
2011-11-26 21:11:57 +01:00
Thorsten Böttger
2e94dcb6a9
providing a changelog now; updated the license
2011-11-26 00:11:30 +01:00