I've got a model with states:

lifecycle do
    state :started, :default => :true
    state :ready
    state :finished
...
end

And in view index I show the table-plus with state. In controler I
make it sortable. But when I click the "State" on the table-plus I
recive error:
undefined method `name_attribute' for
Project::LifecycleStateField:Class

How can I make it sortabe by state?

-- 
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.

Reply via email to