Ok I manage to figure this out. Do form overrides according to the documentation here:
http://activescaffold.com/docs/form-overrides Here is what mine looks like (persons_helper.rb) def personality_form_column(record, input_name) values = ActiveRecord::Base.connection.execute("SELECT enumlabel FROM pg_enum WHERE enumtypid = 'personality'::regtype ORDER BY oid") select :record, :personality, values.result end And that's it. The personality would now show up as select controls. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
