TheLucid Typo theme finally works with version 4.1 of Typo. Please bear in mind that this is quick-fix and and there will still be a Version 2 release sometime in the near future. The new release can be downloaded below: “lucid-typo-theme-1-1.zip”:http://thelucid.com/files/lucid-typo-theme-1-1.zip There are a couple of improvements such as cookies remembering which colour scheme and […]
Following my previous post, below is a modified version of “John Nunemaker’s ‘Renaming RHTML to ERB’”:http://railstips.org/2007/3/4/renaming-rhtml-to-erb to take into account the format in the extension, and handle “the RJS issues I was having”:http://www.thelucid.com/articles/2007/05/16/rails-edge-view-file-extention-functionality-has-changed. namespace ‘views’ do desc ‘Renames all .rhtml views to .html.erb, .rjs to .js.rjs, .rxml to .xml.builder and .haml to .html.haml’ task ‘rename’ […]
It seems that on edge revision 6502 and later, the way that view file extensions has changed considerably. I couldn’t work out why my tests were breaking when doing an xhr request to a new action which had a respond_to block setup for both html and js. It was returning the html instead of the […]
“SonicIQ”:http://www.soniciq.com are looking for a “Junior Ruby on Rails Developer”:http://jobs.37signals.com/jobs/1203. We are based in Bournemouth, Dorset, UK. Anyone interested in working professionally with Rails on some exciting projects please “drop us your CV”:http://jobs.37signals.com/jobs/1203.
“Dan Benjamin”:http://hivelogic.com/authors/danbenjamin recently updated his very helpful article entitled “”Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X”:http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx”. I don’t know about anyone else but compiling software is not one of my favourite pastimes. As I’ve been chopping and changing macs lately I thought I’d write a couple of shell scripts to get […]
Last Friday, a couple of us from “SonicIQ”:http://www.soniciq.com went to the first “RoR eXchange hosted by Skills Matter”:http://www.skillsmatter.com/rorexchange. It was a great day with some interesting talks from: * Chad Fowler * Tom Locke * Paul Battley * James Cox * Damien Tanner * Ben Griffiths * Eleanor McHugh h3. Chad Fowler – Quick and […]
Finally I can mention it. At SonicIQ we’ve been working on a web-based “GTD”:http://davidco.com application. Today the teaser site went live at “propelr.com”:http://www.propelr.com. If you are are into “GTD”:http://davidco.com, life hacks or productivity in general head over to “propelr.com”:http://www.propelr.com. for a sneak peek!
If you’re anything like me, you like to keep database columns in a reasonably logical order. In my case I generally keep primary keys as the first column, then content columns, then special usage columns, then foreign keys e.g. id name description created_on updated_on account_id Now, say I added a ‘slug’ column with a migration: […]
I have found on numerous occasions that I need to disable certain plugin functionality if running a generator / rake db:migrate etc. An easy way to disable certain functionality follows: def method_that_shouldnt_be_run_in_migrations_or_generators # Return if we are using a generator or migrations script = File.basename($0) return if (script == ‘generate’) || (script == ‘rake’ && […]