Tweet I was quite fond of bash shell, or maybe I’m not the kind of person that if something works need to change it for something new, but lately I was finding really annoying the fact of not being able to access to the whole history of the command line, just because bash does not…
Category: chuletas
Removing processes from start up #gnu/linux
Tweet Sometimes, one thinks that is going to do one thing and ends up doing something else. So yesterday, since what the to-do task got complicated and I had the opportunity of being with a nice sysadmin, that wants to shared good practices, we ended up improving the performance of the laptop, but removing from background…
sign_out not working with devise DELETE method
TweetI’m using devise and I still not know when exactly stopped working the sign_out, but at some point the route http://localhost:3000/users/sign_out gave a routing error. For the moment, until I can really understand why is not working any more, I found some solution in a forum (lost the link, sorry :-/), where someone had posted…
Tips. Solving ” PG::Error: ERROR: relation “tags” does not exist”
TweetAfter doing a merge between branches I got an error, that I was not sure why was there. The error was on the acts_as_taggable_on fields Failures: 1) GET /cycles display cycles Failure/Error: visit cycles_path ActionView::Template::Error: PG::Error: ERROR: relation “tags” does not exist LINE 4: WHERE a.attrelid = ‘”tags”‘::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc,…
Configuración de postgres y Rails para Ubuntu 12.04
TweetDespués de perder dos mañana intentando configurarme el postgres para poder usarlo desde Rails,  encontrarme con fallos y la solución atravesarse un poco, pues cuento cómo se ha solucionado y si alguien se ahorra el tiempo pues mejor que mejor. Básicamente he seguido esta guÃa para la instalación y configuración en Ubuntu Primero hay que…