May 16 rails Comfortable Mexican Sofa runs on PostgreSQL
tags:
tags:
tags:
If you have worked with liquid you surely have bumped with the difficulty to debug it. I solve it by just vendoring it to vendor/plugins and voila! now I can use debugger on every tag and drop defined in the app.
tags:
para.pent.es dates back to 2006, when calas, mrdias and I met. We wanted to do something with Rails, a promising web framework at that time, and we were (are) nuts about paragliding and flying.
read more »tags:
Least Significant Bit is back after almost a year of being playing Queen’s Don’t stop me now in our domain parking. Since it’s reborn I decided to talk about the motor behind it, a scanty, a mix of sinatra and sequel.
read more »tags:
I normally don’t feel too confortable with the looks and manners of Rake tasks. The code looks a bit anti-DSL, and normally is not clear where to put helper methods, and also how to make them available or not to given tasks. So take a look at what I tried the other day: including modules in tasks and make them dependencies of other tasks:
read more »tags:
You use some captcha solution to avoid bots in your site, and you are a good kid and like everything well test-covered. Well, don’t sweat too much with weird solutions to validate your captcha, it’s an external thing you know, it’s pretty ok to stub it.
read more »tags:
When writing expectations on pages I like to keep them loose so they break less. I normally use the have_text matcher and I can even get looser using regexps matching but even that can break due to line breaks introduced by rendering. This is what it should be in a perfect world:
read more »tags:
For a week or two I was happily pleased with Jon Lark Larkowski RSpec presentation at Ruby Nation on RSpec syntax, and was eager to use that and other recommendations to improve my specs. Well it was time to test a helper in one of my Rails apps. Check it out, it is sweet.
read more »tags:
You love git bisect to traverse your history running scripts and find where your code got broken, right? But then you find bisect is not aware of submodules don’t sweat it’s git in the end, you have the power.
read more »tags:
In one of my last tasks I have this page where an automatic download starts. I set jquery to wait for the page to load and then start an ajax request for the download. Everything was ok, except Chrome did not show any image from the CSS. The solution in the end was to use the old iframe tag and no fancy js.