This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Day Job: Software engineer / technical lead | |
Open Source contribution (if any): I've contributed to vimerl. | |
Tell me about your experience with Ruby/Rails: I use ruby and sinatra for side projects. I've contributed to MrT (command-line competion). I tend to do round-robin between ruby and python for scripting. I'm very often using ruby in my projects, even if it's not directly: git custom workflows, presentations (showoff), configuration management (puppet, vagrant), email client (vmail), etc. | |
How do you use GitHub: I use it all the time. I use it to follow projects I'm interested in or to find new projects. I put my side projects and presentations on github. And I also use it at work with private repositories (pull requests, code review, issues, etc.). I couldn't live without it. | |
Favorite luchador(es): Octagón and el Santo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List getPromocionesSeleccionadas() { | |
List promociones = null; | |
List promoList = getPromociones(); | |
if ( promoList != null && promoList.size() > 0 ) { | |
promociones = new ArrayList(); | |
Iterator iter = promoList.iterator(); | |
while (iter.hasNext()) { | |
Integer promoId = (Integer) iter.next(); | |
String promocion = (String) promocionesDisponibles.get(promoId); | |
promociones.add(promocion); |