On Sábado, 20 de Marzo de 2010 01:08:16 Head777 escribió:
> Thanks by your help, but i dont know where is the problem, i was
> seeking in google all the afternoon but i have nothing yet, because
> when i put this:
>
> config.create.columns[:fecha_nacimiento].options = {:start_year =>
> 1900}
>
>
> Show this mistake:
>
> NoMethodError in EmpleadoController#index
> undefined method `options=' for :fecha_nacimiento:Symbol

To set options you must use config.columns[:column_name].options
Look at possible options in date_select documentation in RoR API:
http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#M001698

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

Reply via email to