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<[email protected]> 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 <[email protected]> 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. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

