On Miércoles, 19 de Agosto de 2009 05:10:48 mikev escribió: > I have a field that is defined as varchar2 with size 20 in an Oracle > legacy db and it is being automatically displayed as a select list > rather than a text box. Any explanation of why this would happen and > how I can force it to be a text box? > > I tried the following but it had no effect: > > config.columns[:standard_nm].list_ui = :text
list_ui is only for list and show views. Try in script/console: Model.columns_hash['standard_nm'].type It should return :string Do you have form_ui = :select? Do you have a form override for standard_nm in other helper and "helper :all" in ApplicationController? > > -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
