<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7655103507701733491</id><updated>2012-02-16T17:46:12.056+01:00</updated><category term='ruby'/><category term='linux'/><category term='recetas'/><category term='i18n'/><category term='virtualbox'/><category term='bugs'/><category term='desarrollo'/><category term='ssh'/><category term='rvm'/><category term='bash'/><category term='dell'/><category term='opinión'/><category term='android'/><category term='experiencias personales'/><category term='css'/><category term='web 2.0'/><category term='rails'/><category term='html'/><category term='thinking-sphinx'/><category term='twitter'/><category term='sociedad'/><category term='vostro'/><category term='divagaciones'/><category term='ubuntu'/><category term='hardware'/><category term='google'/><title type='text'>eLafo sobre raíles</title><subtitle type='html'>Chuletas, recetas, opiniones y, sobre todo, divagaciones acerca del mundo del desarrollo en rails en particular, y de lo que me apetezca en general</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-128281653062329984</id><published>2012-01-23T12:29:00.002+01:00</published><updated>2012-01-23T12:40:27.461+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dell'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><category scheme='http://www.blogger.com/atom/ns#' term='vostro'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Aceleración gráfica en el Dell Vostro 3500 con nvidia GeForce 310M y Ubuntu 11.10</title><summary type='text'>Este fin de semana he vuelto a reinstalar por enésima vez mi sistema operativo (con n tendiendo a gúgol). Y esta vez he decidido probar la versión de Ubuntu 11.10, que viene con Unity. No voy a contar qué es lo que me parece, porque no viene al caso en este post.

Lo que sí voy a contar es cómo, por fin y después de casi dos años, he conseguido tener aceleración gráfica en mi Dell Vostro 3500, y </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/128281653062329984/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2012/01/aceleracion-grafica-en-el-dell-vostro.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/128281653062329984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/128281653062329984'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2012/01/aceleracion-grafica-en-el-dell-vostro.html' title='Aceleración gráfica en el Dell Vostro 3500 con nvidia GeForce 310M y Ubuntu 11.10'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-1386428827363129096</id><published>2012-01-20T20:12:00.000+01:00</published><updated>2012-01-20T20:12:10.088+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rvm'/><title type='text'>RVM: LoadError (no such file to load -- openssl)</title><summary type='text'>Hoy he tenido que reinstalar mi Ubuntu (versión 11.10) y al instalar una nueva versión de ruby (1.9.2) con RVM he tenido problemas para instalar la gema ruby-debug-base19.

En concreto me daba este error, que ya había visto muchas otras veces, pero del que nunca recuerdo su solución:

 LoadError (no such file to load — openssl)


Bien, pues lo que pasaba es que había instalado esta versión de </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/1386428827363129096/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2012/01/rvm-loaderror-no-such-file-to-load.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/1386428827363129096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/1386428827363129096'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2012/01/rvm-loaderror-no-such-file-to-load.html' title='RVM: LoadError (no such file to load -- openssl)'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-6187585105675715335</id><published>2012-01-12T18:37:00.000+01:00</published><updated>2012-01-12T18:37:44.974+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><category scheme='http://www.blogger.com/atom/ns#' term='thinking-sphinx'/><title type='text'>Ordenando por el día actual en una relación has_many con thinking sphinx y rails</title><summary type='text'>Mi último problema con thinking sphinx ha sido el siguiente:

Presentación

Tengo un modelo al que llamaremos, en un alarde de originalidad, A.

Dicho modelo, tiene una relación tipo has_many con otro modelo que, para no destrozar el flow, llamaremos B. Este modelo B, tiene un campo de tipo date llamado turn_date (aquí, el lector avezado, habrá podido intuir que el campo turn_date, representa la </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/6187585105675715335/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2012/01/ordenando-por-el-dia-actual-en-una.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/6187585105675715335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/6187585105675715335'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2012/01/ordenando-por-el-dia-actual-en-una.html' title='Ordenando por el día actual en una relación has_many con thinking sphinx y rails'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-2974826357477066576</id><published>2011-08-04T18:04:00.001+02:00</published><updated>2011-08-04T18:22:11.853+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><title type='text'>Cambiar los colores del terminal cuando nos conectamos por SSH a diferentes máquinas</title><summary type='text'>Muchos de nosotros nos conectamos a diario a diferentes máquinas: producción, integración... Y algunos de nosotros lo hacemos por ssh. Sin embargo, no estaría de más poder cambiar el aspecto de del terminal para evitar hacer destrozos del tipo Account.delete_all en la máquina que no es.

Pues para esto he creado un script muy sencillo, que junto con algún alias, me permite, en mi ubuntu, cambiar </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/2974826357477066576/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2011/08/cambiar-los-colores-del-terminal-cuando.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/2974826357477066576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/2974826357477066576'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2011/08/cambiar-los-colores-del-terminal-cuando.html' title='Cambiar los colores del terminal cuando nos conectamos por SSH a diferentes máquinas'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-7488855150569308653</id><published>2011-07-26T12:47:00.002+02:00</published><updated>2011-07-26T13:14:59.703+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Thumbnails de vídeo en ubuntu</title><summary type='text'>Cada vez que reinstalo Ubuntu (ahora mismo estoy con Ubuntu 10.10), siempre me encuentro con el mismo problema: los thumbnails de los vídeos de algunos formatos (avi, flv, etc) no aparecen. Y como mi memoria es pequeña y frágil, siempre tengo que buscar en google cómo se resolvía esto.

Bien, pues para no tener que buscar más, esto es lo que hay que hacer:



Luego, hay que borrar el contenido de</summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/7488855150569308653/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2011/07/thumbnails-de-video-en-ubuntu.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/7488855150569308653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/7488855150569308653'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2011/07/thumbnails-de-video-en-ubuntu.html' title='Thumbnails de vídeo en ubuntu'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-4225242983907015789</id><published>2010-10-26T17:13:00.000+02:00</published><updated>2010-10-26T17:13:35.311+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='bugs'/><category scheme='http://www.blogger.com/atom/ns#' term='recetas'/><category scheme='http://www.blogger.com/atom/ns#' term='rvm'/><title type='text'>Ruby 1.8.6 y date (ArgumentError)</title><summary type='text'>Intentando instalar en mi máquina local un entorno de desarrollo con ruby ree-1.8.6 (con rvm), he tenido problemas con la clase Date.

Al intentar hacer algo como:

Date.new(1900, 2, 28)


me saltaba una excepción ArgumentError.

Bien, pues la solución es instalar dicha versión de ruby con los siguientes flags:

CFLAGS='-g -DRUBY_EXPORT -D_GNU_SOURCE=1' rvm install ree-1.8.6


¡Gracias a mi </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/4225242983907015789/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/10/ruby-186-y-date-argumenterror.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/4225242983907015789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/4225242983907015789'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/10/ruby-186-y-date-argumenterror.html' title='Ruby 1.8.6 y date (ArgumentError)'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-9083871257934968399</id><published>2010-10-20T17:08:00.000+02:00</published><updated>2010-10-20T17:08:57.329+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='recetas'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Listas horizontales en IE7</title><summary type='text'>Otra vez tengo que pegarme con HTML y CSS. Es una cosa que no me disgusta, pero que sería mucho más fácil si todos los navegadores implementeran el estándar... pero eso sería demasiado bonito.

El problema que me ha surgido hoy es el siguiente:

Necesito diseñar una barra de iniciales. Esta barra es un elemento ul, que contiene una serie de elementos li, que a su vez contienen un enlace. Esta </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/9083871257934968399/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/10/listas-horizontales-en-ie7.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/9083871257934968399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/9083871257934968399'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/10/listas-horizontales-en-ie7.html' title='Listas horizontales en IE7'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-473174424510342052</id><published>2010-08-18T16:24:00.000+02:00</published><updated>2010-08-18T16:24:04.531+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Los cumpleaños de tus contactos en tu Android</title><summary type='text'>Después de tiempo intentando averiguar cómo podía integrar los cumpleaños de mis contactos en mi calendario de google (y así tenerlos disponibles en mi teléfono Android), por fin he dado con ello. Y es muy sencillo.

Lo único que hay que hacer es acceder a tu calendar de google y acceder a:

Configuración &gt; Configuración de calendar &gt; Calendarios &gt; Explorar calendarios interesantes &gt; Más &gt; </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/473174424510342052/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/08/los-cumpleanos-de-tus-contactos-en-tu.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/473174424510342052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/473174424510342052'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/08/los-cumpleanos-de-tus-contactos-en-tu.html' title='Los cumpleaños de tus contactos en tu Android'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-8785119023583822771</id><published>2010-08-11T16:54:00.000+02:00</published><updated>2010-08-11T16:54:07.149+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='recetas'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Cellpadding y cellspacing en CSS</title><summary type='text'>Como casi todos los días, hoy me está tocando quitar estilos inline de una maqueta en HTML y pasarlos a una hoja de estilos. Manías que tiene uno, ya veis... Y hoy, otra vez más, me he encontrado un elemento table con unos maravillosos atributos cellpadding y cellspacing, que no son propiedades de CSS. ¿Y cómo se soluciona esto? Pues aquí va la receta que he utilizado, y que me he permitido el </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/8785119023583822771/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/08/cellpadding-y-cellspacing-en-css.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/8785119023583822771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/8785119023583822771'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/08/cellpadding-y-cellspacing-en-css.html' title='Cellpadding y cellspacing en CSS'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-8774377995422933034</id><published>2010-08-09T16:51:00.000+02:00</published><updated>2010-08-09T16:51:46.595+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='desarrollo'/><category scheme='http://www.blogger.com/atom/ns#' term='recetas'/><title type='text'>each_slice en ruby 1.8.6</title><summary type='text'>Hoy me he encontrado con un problema al desplegar en producción con ruby 1.8.6. La aplicación cascaba porque no encontraba el método each_slice para la clase Array.

Esto en ruby 1.8.7 no da problemas, pero para que funcione en 1.8.6 hay que hacer un

require 'enumerator'

Gracias a este post, que me ha ilustrado antes de liarme a hacer cualquier burrada propia de un lunes de agosto.

Hacer </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/8774377995422933034/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/08/eachslice-en-ruby-186.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/8774377995422933034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/8774377995422933034'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/08/eachslice-en-ruby-186.html' title='each_slice en ruby 1.8.6'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-4277612441966161334</id><published>2010-07-05T20:17:00.004+02:00</published><updated>2010-07-05T20:25:51.086+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='recetas'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Instalar rvm</title><summary type='text'>Estoy cambiando de equipo y, como siempre, me vuelve a tocar instalar cosas que ya había instalado anteriormente y no me acuerdo de cómo lo hice. Así que, para la próxima vez, aquí van los pasos necesarios para instalar rvm.

bash &lt; &lt;( curl http://rvm.beginrescueend.com/releases/rvm-install-head )


Puede ser que se muestre el siguiente mensaje tras la instalación:


 WARNING:  you have a 'return</summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/4277612441966161334/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/07/instalar-rvm.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/4277612441966161334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/4277612441966161334'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/07/instalar-rvm.html' title='Instalar rvm'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-7925037554246866137</id><published>2010-06-23T19:46:00.000+02:00</published><updated>2010-06-23T19:46:17.676+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='divagaciones'/><category scheme='http://www.blogger.com/atom/ns#' term='experiencias personales'/><title type='text'>Un año de cambios</title><summary type='text'>Hace algo más de un año decidí dar un cambio de aires a mi vida profesional, y creo que ha llegado el momento de hacer balance.

Todo comenzó con un twitter de un antiguo compañero de trabajo (¡gracias Félix!) avisándome de una oferta de trabajo en una empresa que trabajaba con Ruby on Rails llamada ASPgems. Y lo que en principio iba a ser un simple cambio de trabajo y tecnología (me metía de </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/7925037554246866137/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/06/un-ano-de-cambios.html#comment-form' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/7925037554246866137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/7925037554246866137'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2010/06/un-ano-de-cambios.html' title='Un año de cambios'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-6146194627215879105</id><published>2009-12-11T00:35:00.000+01:00</published><updated>2009-12-11T00:35:22.388+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Reinstalar Ubuntu y mantener (casi) todas tus aplicaciones</title><summary type='text'>Soy un desastre. Quien me conoce sabe que la entropía en mí es muy alta (gracias a las clases de física por esta excusa tan socorrida) y que me cuesta mucho llevar un orden cuando no es estrictamente necesario. Y esto me lleva a contaros mi último descubrimiento: cómo reinstalar ubuntu y mantener (casi) todas las aplicaciones que tenías instaladas.

No sé vosotros pero yo cada año (últimamente </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/6146194627215879105/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/12/reinstalar-ubuntu-y-mantener-casi-todas.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/6146194627215879105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/6146194627215879105'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/12/reinstalar-ubuntu-y-mantener-casi-todas.html' title='Reinstalar Ubuntu y mantener (casi) todas tus aplicaciones'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-8921684393287707473</id><published>2009-12-10T13:17:00.001+01:00</published><updated>2012-01-10T17:28:10.735+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='opinión'/><category scheme='http://www.blogger.com/atom/ns#' term='twitter'/><title type='text'>Twitter: ¿La simplicidad excesiva nos desorienta?</title><summary type='text'>
Hace tiempo escribí un blog en la web de Madrid on Rails acerca de twitter, y hoy, tras una breve conversación con gente del sector, he decidido republicarlo aquí.

Y el blog dice así:

Hoy en día pregunten a cualquier persona entre 10 y 40 años, qué es facebook o tuenti. Seguramente las definiciones que hagan los sujetos no sean, ni de lejos, unas definiciones completas. Sin embargo, casi todos</summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/8921684393287707473/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/12/twitter-la-simplicidad-excesiva-nos.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/8921684393287707473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/8921684393287707473'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/12/twitter-la-simplicidad-excesiva-nos.html' title='Twitter: ¿La simplicidad excesiva nos desorienta?'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-401342277698703052</id><published>2009-12-09T19:55:00.005+01:00</published><updated>2009-12-09T21:28:16.111+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='divagaciones'/><category scheme='http://www.blogger.com/atom/ns#' term='experiencias personales'/><title type='text'>Historia de dos empresas</title><summary type='text'>Leyendo "Fuckowski. Memorias de un ingeniero", me ha venido a la cabeza mi época en mi antigua empresa (de ahora en adelante Vietnam S.L.). Una empresa de esas en las que sabían cómo motivar a la gente:
"En la empresa wadus han despedido a 400 personas, como comprenderás tengo donde elegir"
o mi preferida
"Yo parto de la base de que a mitad del proyecto, cuando no sepas cómo arreglarlo, te piras </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/401342277698703052/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/12/historia-de-dos-empresas.html#comment-form' title='5 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/401342277698703052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/401342277698703052'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/12/historia-de-dos-empresas.html' title='Historia de dos empresas'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-214919630327175994</id><published>2009-10-07T14:31:00.005+02:00</published><updated>2009-10-07T18:19:06.632+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Resolviendo el error al instalar las guest additions de Virtual Box en Ubuntu 9.04 con ATI</title><summary type='text'>Como siempre que me creo una máquina virtual nueva de Ubuntu 9.04 en VirtualBox (OSE), tengo problemas al instalar las Guest Additions.

Nunca me acuerdo de cómo se hacía, así que voy a ponerlo bien clarito aquí para que no se me olvide.

Antes de nada, mi equipo es un HP EliteBook 8530p, de esos que vienen con ATI (nunca más, lo prometo...). El sistema operativo que tengo instalado a día de hoy </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/214919630327175994/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/10/resolviendo-el-error-al-instalar-las.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/214919630327175994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/214919630327175994'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/10/resolviendo-el-error-al-instalar-las.html' title='Resolviendo el error al instalar las guest additions de Virtual Box en Ubuntu 9.04 con ATI'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_BqgfQI9_Xfo/SsyAvUSpz5I/AAAAAAAAAxo/9hi-onXkv8A/s72-c/installing-guest-additions-console-output.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-2318238862305378540</id><published>2009-10-06T01:37:00.239+02:00</published><updated>2009-10-06T14:21:49.334+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='divagaciones'/><category scheme='http://www.blogger.com/atom/ns#' term='web 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='sociedad'/><title type='text'>Las nuevas buenas maneras en el mundo 2.0</title><summary type='text'>Tomándome una cerveza y viendo la tele, que es una de las mejores maneras de tener una idea divagar, me ha surgido la siguiente duda.

Con la implantación cada vez más rápida de la web 2.0 en nuestras vidas (el 24,7% de la población) están surgiendo nuevas maneras de comunicarnos (relacionarnos) entre todos nosotros. No voy a entrar en si la calidad de la comunicación mejora o empeora (igual en </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/2318238862305378540/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/10/las-nuevas-buenas-maneras-en-la-web-20.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/2318238862305378540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/2318238862305378540'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/10/las-nuevas-buenas-maneras-en-la-web-20.html' title='Las nuevas buenas maneras en el mundo 2.0'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-1877093729469696546</id><published>2009-10-01T19:53:00.002+02:00</published><updated>2009-12-15T11:44:20.825+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><category scheme='http://www.blogger.com/atom/ns#' term='desarrollo'/><category scheme='http://www.blogger.com/atom/ns#' term='i18n'/><title type='text'>Internacionalización y localización en rails</title><summary type='text'>Lo reconozco: soy un maniático de la localización e internacionalización. Tanto, que casi rozo un trastorno obsesivo compulsivo. En rails considero una práctica casi obligatoria incluir la localización desde el primer momento en que empezamos un nuevo desarrollo.

Pero como Rails está pensado para vagos, nos incluye, al menos desde la versión 2.3.2, el plugin I18n desde el principio. Con esto, </summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/1877093729469696546/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/10/internacionalizacion-y-localizacion-en.html#comment-form' title='8 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/1877093729469696546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/1877093729469696546'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/10/internacionalizacion-y-localizacion-en.html' title='Internacionalización y localización en rails'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7655103507701733491.post-4141859374784048130</id><published>2009-10-01T16:58:00.001+02:00</published><updated>2011-11-15T19:01:28.002+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>Validando en rails cuando necesitas acceder a current_user</title><summary type='text'>Estoy en medio de un proyecto con acts_as_authenticated y me he encontrado con el problema siguiente:

A la hora de validar un modelo, necesito comprobar unos atributos del usuario actual. Es decir, necesito acceder a los atributos de current_user.

Sin embargo, dicha variable no está disponible en el modelo. Así que buscando en google encontré esta discusión, que me dio una posible solución.

El</summary><link rel='replies' type='application/atom+xml' href='http://elafosobrerailes.blogspot.com/feeds/4141859374784048130/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/10/validando-en-rails-cuando-necesitas.html#comment-form' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/4141859374784048130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7655103507701733491/posts/default/4141859374784048130'/><link rel='alternate' type='text/html' href='http://elafosobrerailes.blogspot.com/2009/10/validando-en-rails-cuando-necesitas.html' title='Validando en rails cuando necesitas acceder a current_user'/><author><name>eLafo</name><uri>http://www.blogger.com/profile/04722275310132239883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_BqgfQI9_Xfo/SsTQZGQBUmI/AAAAAAAAAw8/JbplAxT1VR8/s1600-R/4c79e8f0d5a11f8ecaaf555cbaa945d3.png'/></author><thr:total>3</thr:total></entry></feed>
