Category Archives: Ruby

Misleading Validation Errors In Spree

Just a reminder that when shipping address fails validation due to “no shipping method” it may be caused by incorrect weight set additional calculators. Advertisements

Posted in Gotchas, Ruby | Tagged , , , | Leave a comment

Debugging Mootools 1.2.4, Rails 3 UJS Problems… Solved!

In Times Of Crisis… Spent a whole evening last night trying to get the Mootools Rails 3 UJS driver working correctly. Links created in templates were recognised as having “data-remote” attributes as rails.js applies events on domready but dynamically created … Continue reading

Posted in Gotchas, Javascript, RoR, Ruby | Tagged , , , , , | 2 Comments

gem install nokogiri fails if libxml2 and libxslt packages aren’t installed

I’ve had to do a couple of setups over the past few weeks and every time I forget about this so here’s a reminder. The Nokogiri gem requires libxml2 and libxslt to install. Otherwise it throws this horrible make error … Continue reading

Posted in Gotchas, Ruby | Tagged , , | Leave a comment

Ronseal Ruby 1.9.2-p0/Rails 3 install instructions for Ubuntu 10.1

Just found these install instructions for Ruby 1.9.2-p0 and Rails 3 which don’t assume you already have a Ruby installation.  The instructions are actually for Ubuntu 10.4 but I’ve had no problems installing on Ubuntu 10.10. I was going to … Continue reading

Posted in Programming, Ruby, Ubuntu | Tagged , , , , | 2 Comments

Protected: Rails App From Scratch: Part 2

There is no excerpt because this is a protected post.

Posted in Programming, RoR, Ruby | Tagged , , , ,

Trying out NetBeans 6.9… Bye Bye Aptana?

I’ve been programming in Ruby now for about four years and having been used to IDE’s for other languages looked for a good IDE right from the start. As it happened Aptana was released at about the same time as … Continue reading

Posted in IDE, Random Stuff, RoR, Ruby | Leave a comment

Set database type when creating a new Rails app

I’ve just started to use Heroku to host my apps and have found that i keep editing the default database after i’ve created the Rails app. Obviously this is very frustrating and was making me think i’d missed something, so … Continue reading

Posted in Ruby | Tagged , , | Leave a comment