The Spanish community Rails conference (aka Conferencia Rails) is so close! Last week we opened the register (what are you waiting for?), late than usual, but this year everything is a little bit more messy, because this year the conference is growing in a lot of aspects: this year we are moving to Vicálvaro, a village close to Madrid, to all...
Since we have been using I18n in Partigi for the last months we have notice that we were always repeating ourselves when localising a sentence like this: This film has been saved by 4 friends What is special in this sentece is that, depending on the number of friends that saved the film, the sentence could be "This film has been save...
One of my discoveries in the last Euruko conference was the project request log analyzer, an improved log analyzer for Rails logs (but also merb and the format you decide). Until now we have used production log analyzer from seattlerb boys, which is still a great tool. The reason for this change is that request log analyzer let's you define y...
It's time again for the Spanish Rails Conference! If you want to give a talk, you can send your proposals here. This year we want to encourage English people who wanna come with us and give talks (but notice that the most of the talks will be in Spanish). Remember that this year there will be not only talks, but workshops of about 2 or 4 ho...
Lately, I have been so curious about alternatives to relational databases. Deeping a little bit exist a lot of interest about topics related with it. The most important that I have found recently is the NoSQL conference, with lot of talks and information about Voldemort, Cassandra, CouchDB, and so on. You can find some notes about that her...
Since I saw the presentation about Couch Potato, a library for using CouchDB with your Ruby applications I was very curious about how to map a relational schema (that is the most common way to model entities and their relationship) in a document / plain schema where each element has no relation with the others. And at last, today I found a co...
If you work in a project with i18n maybe you found useful this small trick for forcing the locale in a block: module I18n class This is very useful, for example, when you have to send a notification to a user in his locale, not in the current locale, so you have to do it in this way: I18n.in_locale(@user) { UserMailer.deliver...
Two weekends ago we celebrated the first Rails Hackathon in Madrid: the idea was to make groups of two or the people, select a ticket from the Rails core, and create a patch for it. Sam Lown and me, decided to work in a plugin for allowing compatibility between GetText and the new Rails i18n support. The result is our beta plugin i18n_gettext, ...
In La Coctelera we offer to the users the possibility to automatically update their Twitter status with a link to the last post or the last published photos (shortly :). The tests for notifying twitter are very easy if you use the powerful Mocha (in the beginning we tried to simulate the Twitter::Base class, but it gets a little bit more comp...
After a lot of time without having time I decided to update query_memcached plugin with a lot of changes that the github collaborators pushed some weeks ago. These are the major changes: there was a bug that made the plugin don't work in some situations the philosophy have changed a bit and now not all is magic, and you have to indicate in ...
This days I have been working on a small library for the i-Buddy device, a small gadget for MSN Messenger lovers, that you can connect to your computer through a USB port and has some functionality like light its head with different colours, light a small hearth, move the flaps and turn left or right. The main attractive is the price (no more t...
Today we had to find a small bug in La Coctelera's javascript: the bug was a hash with a colon after the last element. The problem was that, of course, it didn't work on IE 6 and don't have any debugger for Javascript installed on my Vmware. The ...
Request log analyzer
4 comentarios