Latest Tweets
- @bobanddan No need to 'chief' me. We're having fun here, no? Two uses of the word 'boomstick', it seems. Patent infringement? in reply to bobanddan 1 day ago
- @bobanddan Is this some new-ish on-air schtick that I've missed? Otherwise, thought this was @benandskin 's thing: http://bit.ly/aCucwz in reply to bobanddan 1 day ago
- @ryanrtxtx In the words of @bobanddan Boomstick!!! Go Rangers! > Uh, I think you mean @benandskin...they do look alike, though. :) #notypos 1 day ago
- @ryanrtxtx In the words of @bobanddan Boomstick!!! Go Rangers! > Uh, I think you mean @benandskin...they do like alike, though. :) in reply to bobanddan 1 day ago
- Starting to drink the maroon kool-aid with all the media praises for Jerrod Johnson, the receiving corp, and Von Miller. Is this the year? 2 days ago
- More updates...
-
Recent Posts
Recent Comments
Archives
Categories
Category Archives: Ruby
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
CodeRay-ize Your Code into HTML
I recently discovered CodeRay as a means to pretty up my Rails-based tutorial examples. But unfortunately, this blog runs under WordPress which is PHP-based, so I can’t use CodeRay here. Or can I? While not the most seamless process, I … Continue reading
Posted in Open Source, Ruby
Leave a comment
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