justinfrench/formtastic — pull request #756 by Paxa (2011-12-15 02:01:26+00:00)
Title: State machine support 

I made support for state_machine fields and fields with set of values for example

```ruby
class User
GENDERS = %w{male female}
state_machine :state, :initial => :open do
state :green
state :yellow
state :ready
end
end
```

fields `gender` and `state` will be rendered as select input