Yes, it is protected in latest code at least. Where it made sense, I added a method to the model with the lifecycle called status and had that return the to_s state.
On Jul 18, 7:26 pm, oillio <[email protected]> wrote: > I updated Hobo from 0.8.5 to 0.8.8 and now I am getting an error > message: > view of non-viewable field 'state' > > The field (state) is from a lifecycle. > The view code throwing the error is this: > <table fields="memo, state" class="CodeMEM"> > <memo-heading:> > <h3>Memo</h3> > </memo-heading:> > <state-heading:> > <h3>State</h3> > </state-heading:> > <state-view:> > <if test="&this == 'unsent'"> > <view class="unsent"/> > </if> > <else> > <view class="sent"/> > </else> > </state-view:> > </table> > > The lifecycle code that defines its state is: > lifecycle do > state :unsent, :default => true > state :sent > > transition :send, { :unsent => :sent} > end > > What could be causing this? Did the ability to access the state of a > lifecycle get turned off? > > Thanks, > -Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
