Category Archives: Ruby on Rails

GeoKit: A Tiny Update

Its been a while since I tinkered with GeoKit, but when I read this post, I thought I’d take a look at a couple of things that were mentioned. James wrote that it would be nice to be able to … Continue reading

Posted in GeoKit, Open Source, Ruby, Ruby on Rails | 4 Comments

Taming the Beast

In my continuing efforts to work Ruby and Rails into the Enterprise, I’ve been working on adapting Rick Olson and Josh Goebel’s Beast discussion forums engine. Its excellent work on their part and quite fun to play with. My adaptations … Continue reading

Posted in Open Source, Ruby, Ruby on Rails, YUI | 2 Comments

GeoKit: Going International?

We have been asked whether GeoKit could be made to support UK addresses and this is something that we’re interested in doing.  I must admit that I was incompletely uninformed as to how different these addresses really are.  Just have … Continue reading

Posted in GeoKit, Ruby, Ruby on Rails, Uncategorized | 5 Comments

Who is doing Rails?

The recent GeoKit publicity has caused an influx of new visitors to this blog. Now that the traffic is subsiding somewhat, I thought I’d take a look at the geography of Rails. It seems an appropriate tangential GeoKit topic. So … Continue reading

Posted in GeoKit, Ruby, Ruby on Rails | 3 Comments

GeoKit: More Syntactic Sugar

We just checked in code which improves the readability of GeoKit’s finders. Its quite obvious from the code, so just take a look at these examples: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 … Continue reading

Posted in GeoKit, Open Source, Ruby, Ruby on Rails, Uncategorized | 6 Comments

GeoKit: Improvements to distance_between and distance_to

Over at Earthcode, a request was made to enable the distance_between and distance_to methods to accept physical locations in pre-geocoded string form. I have added this improvement, so you can now do: 1 2 3 4 5 6 7 # … Continue reading

Posted in GeoKit, Open Source, Ruby, Ruby on Rails | 3 Comments

GeoKit: Some Minor Feature Tweaks

In the last couple of days, I added a couple of minor feature tweaks. First, the finders will now all accept optional :units and :formula keys to enable you to override the units and formula used by the model by … Continue reading

Posted in Open Source, Ruby, Ruby on Rails, Uncategorized | 1 Comment

GeoKit: My First Rails Plug-in

This is a follow-up to my last post on distance queries in Rails. Since that post, I’ve enlisted the help of Andre Lewis at Earthcode.com to help super-charge the feature set. If you don’t know Andre, he’s the author of … Continue reading

Posted in Open Source, Ruby, Ruby on Rails | 8 Comments

Distance Queries in Rails

I’m writing an application which has store locator-like use cases. If you’ve ever written anything like this, you know that the SQL can get quite messy. To keep my code clean and elegant, I’ve written a Rails plugin called acts_as_mappable … Continue reading

Posted in Open Source, Ruby, Ruby on Rails | 1 Comment

My Winter Project / YUI + YUI EXT + Rails = Yojimbo

Yeah, I know its a crazy title.  Let me explain. The company I currently work for permits us to define self-indulgent personal objectives which factor heavily into our bonuses each half year.  A lot of people take the easy way … Continue reading

Posted in Mac OS X, Ruby on Rails, YUI, YUI-Ext | 5 Comments