On Sep 30, 2010, at 9:38 AM, Tom wrote:

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

This was a bug:

https://hobo.lighthouseapp.com/projects/8324/tickets/721

I'm not sure if we've pushed a gem with this fix in it, though. Bryan?

--Matt Jones

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