Category Archives: software engineering

DoubleRenderError madness with Liquid and Rails 3

I’ve been migrating some of our .erbs into .liquid templates.

We are refactoring some of the templates used in Ombu Shop so that they are more designer-friendly. Designers can now manage most of the HTML & CSS in their shops.

This is a key feature. It hasn’t been easy.

Also posted in programming, Ruby programming, web programming | Tagged , , , , , , , | Leave a comment

Why you should have and maintain tests for your code: Reason #23

You must have tests for your critical features. You should have tests for your entire application.

You should run your tests before you start a major refactor of your code. Tests should pass.

Also posted in programming, Ruby programming, web programming | Tagged , , , , , , , | Leave a comment

Cross domain issue with Backbone.js (OPTIONS request)

We ran into a problem right away. The collection fetch method was not retrieving the right data. It was actually issuing a OPTIONS /cabeceras request. We were expecting a GET /cabeceras request.

Also posted in open source, programming, web programming | Tagged , , , , | Leave a comment