Archivo de la etiqueta: rails

LibreOffice headless: debugging session (OMG!)

A couple of years ago I decided to try LibreOffice’s «–convert-to» parameter to generate different formats of a document, instead of using the ancient listen-on-port-8100 service and use an external Python script in order to do the dirty job of … Sigue leyendo

Escrito en Programación, Ruby, Software, Solucioname esto... | Etiquetado , , , , , , | Deja un comentario

Query SQLite looking for boolean records

Today I have needed to ask an SQLite DB to get some records with a field set to true, and all my first attempts to do it have been failed. Finally I have achieved it, and I would like to … Sigue leyendo

Escrito en Programación | Etiquetado , , , , , , , | Deja un comentario

Dinamyc callbacks on Rails, is it possible?

Today I have tried to do this: let any application application, and among all the tables to storage the data of your model estructure, there is one called «Configuration». As you can suspect, this table will storage some configuration options … Sigue leyendo

Escrito en Programación | Etiquetado , , | Deja un comentario

Capybara screenshot on ancient Rails 2.3.X projects

Recently I’ve been playing with some tests on an old Rails Project. In terms of actual Computer Science Mesure Units or CSMUs, this is quite old (remember that one CSMU is the time used by a user to change his/hers … Sigue leyendo

Escrito en Programación | Etiquetado , , , | Deja un comentario