Lifecycle cannot appear twice in a model
Reported by Bryan Larsen | March 31st, 2010 @ 03:32 PM | in Hobo 1.1
Barquin's standard report uses include intelligently to reduce code duplication in its models. This results in the situation that the lifecycle DSL is invoked twice. This actually works surprisingly well, except for migrations. This results in a merge rather than two separate lifecyles, as some would expect. I'm not sure if we want to encourage this, but in the meantime, this is a trivial patch to get migrations working
Comments and changes to this ticket
-
Bryan Larsen March 31st, 2010 @ 03:32 PM
- State changed from open to resolved
(from [56a5370261d94443e730cd5fb49545538f08d934]) [#679 state:resolved] fix migration when lifecycle is invoked twice in a model.
http://github.com/tablatom/hobo/commit/56a5370261d94443e730cd5fb495... -
Bryan Larsen April 17th, 2010 @ 07:15 PM
(from [327b98229dd05b6d9d6def6ba0f6e5d9d772f916]) [#679 state:resolved] fix migration when lifecycle is invoked twice in a model.
http://github.com/tablatom/hobo/commit/327b98229dd05b6d9d6def6ba0f6...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 679 Lifecycle cannot appear twice in a model (from [327b98229dd05b6d9d6def6ba0f6e5d9d772f916]) [#679 s...
- 679 Lifecycle cannot appear twice in a model (from [56a5370261d94443e730cd5fb49545538f08d934]) [#679 s...