Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/07/2008, 09:27
tavobetancur
 
Fecha de Ingreso: junio-2008
Ubicación: Colombia
Mensajes: 19
Antigüedad: 15 años, 10 meses
Puntos: 0
una ayuda con la configuracion de inflections

Hola es que estoy realizando un proyecto nuevo en rails y quiero configurar los inflections para que a la hora de crear un scaffold por ejempo de trabajador se me pluralice en trabajadores,

# Be sure to restart your server when you modify this file.

# Add new inflection rules using the following format
# (all these examples are active by default):
# Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
# end

gracias