Hi Thanks for trying to help out.

I may have found a solution, but unsure on how to use it. Basically
with postgres, I can do a query to get the values for the custom data
type like so:

SELECT enumlabel
   FROM pg_enum
   WHERE enumtypid = 'personality'::regtype
   ORDER BY oid;

And that would reutrn all the values for "personality".

But now that I know I can execute that query so I can get the values,
how do I fit that in within the active scaffold framework?
Particularly, how would i have active scaffold to show a select box
with these values when the user hits the create new link?

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

Reply via email to