Tag Archives: ruby

Blog Move 1: Getting WordPress data to Ruby using XML

Step 1 in the “Moving my blog” process is “Extract the current site’s data into a manageable format” Frankly, that’s easy! WordPress has a functionality to export the site’s content to a single XML file containing all the published Categories, … Continue reading

Posted in Code, ruby | Tagged , , , | 1 Comment

Rails / LAMP / WordPress Setup Guide

I’ve had huge amounts of pain getting WordPress set up locally over the last few weeks on my old machine and when it struck again with my new development environment it definitely time to write down the required steps to … Continue reading

Posted in blog, meaningful labor, rails, ruby | Tagged , , , , , , | 1 Comment

Ruby Uninitialized Constant Error (Mental Note)

The reason I always get initialized constant errors occurring in Ruby is accidentally naming models the plural form of the database table name and not letting Rails automatically create the pluralisations. script/generate scaffold contact_skill contact_id:integer skill_id:integer description:string not script/generate scaffold … Continue reading

Posted in learning, meaningful labor, rails | Tagged , , , | 5 Comments