Thanks Arzumy. Patching my local copy of rails is a bit much for me
at the moment. However, I did find another alternative in using a
helper method, which I think I will do. Thanks!
On Tue, Jul 7, 2009 at 3:23 AM, Arzumy<hello-/do3P1lf25I@public.gmane.org>
wrote:>
> if you patch it like this, it''ll change the default size to 20
>
> module ActionView
> module Helpers
> class InstanceTag
> DEFAULT_FIELD_OPTIONS = { "size" => 20 }.freeze
> end
> end
> end
>
> Cheers!
> http://ar.zu.my
>
> On Jul 6, 6:07 pm, James Kahn <ja...-NeiOIIU1esA@public.gmane.org>
wrote:
>> Hi all,
>>
>> The default field size in a view is 30, which is too large for most of
the
>> fields in my application. Is there a way to set the default text_field
size
>> to something smaller without changing each field individually?
>>
>> Thanks,
>> James.
> >
>