On Dec 31, 2011, at 9:36 PM, JezC wrote:

> Hi - another repetitive migration issue - Hobo 1.3, Ruby 1.9.2p290,
> Rails 3.0.11
> 
> hobo generate resource foo status:string
> hobo generate resource bar status:string
> 
> Field definitions for both include:
> 
>  status enum_string(:one, :two, :three), :default => :one

Does this still exhibit the same behavior if you write it as:

status enum_string(:one, :two, :three), :default => 'one'

(change the default to a string and not a symbol). 

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