Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @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}
Add Comment
Please, Sign In to add comment