Hi
I'm using postgres and to have enums like in Mysql we use custom data
types so in my migration file i have somethin glike this:
execute "CREATE TYPE personality AS ENUM ('shy', 'wild',
'normal');"
My question is, how do i make active scaffold show up the enumerated
data types because right now active scaffold doesn't render any form
controls.
If "personality" were a table, then i would just create a personality
active record class, then declare a belongs_to association and active
scaffold would automatically create a select input control.
but then again "personality" is not a table.
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---