Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@operaciones = all(:servicio_id => @servicio.id, :tipo_de_operacion_id => @tipo_de_operacion_ids).serialize
@operaciones.map! {|i| i[:nombre] = @tipo_de_operacion.find{|to| to.id == i[:tipo_de_operacion_id]}.nombre; i}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment