Embedding Google Charts in FXRuby
Lyle Johnson just wrote a great tutorial on how to integrate Google Charts into an FXRuby application. This is perfect timing since I’ve been doing some experimenting with FXRuby over the past few days.
Lyle Johnson just wrote a great tutorial on how to integrate Google Charts into an FXRuby application. This is perfect timing since I’ve been doing some experimenting with FXRuby over the past few days.
Google quietly released their new chart generation web service late last year. It’s a dead simple way to build beautiful charts using nothing but URLs. The gchartrb gem wraps Google’s API to make things even easier. InfoQ recently published this article that I wrote. It introduces the basics of the … Continue reading
Thought I’d do some hacking on FXRuby today. I ran into trouble during the installation so I’m posting the solutions here in case anyone else experiences the same issues. I attempted installing the fxruby gem first, but didn’t get very far. I ended up having success with the rb-fxruby package … Continue reading
You’ve got about a week left to get your proposals in for a talk at the Ruby Hoedown, the South’s regional Ruby conference. Speakers will receive free admission and an as of yet undetermined honorarium along with dinner the night before the conference. (C’mon, you can’t possibly pass up free … Continue reading
The Ruby Hoedown moves to Hunstville, Alabama this year. I’m filling Nathaniel’s place as co-organizer this go round, along with Jeremy McAnally who was the driving force behind the conference last year too. We’re cooking up a good mix of Ruby talks. It’s not too late to get your own … Continue reading
I often find myself having to build arrays of similar objects in my tests. For example: def create_user :some_user end users = [create_user, create_user, create_user] It seems wasteful to repeat the same method call three times. One solution is to use the #times method to append to an array, like … Continue reading
One question that seems to come up a lot on the Streamlined mailing list is how best to filter the records that are displayed in the list view using a certain set of conditions. There are several ways of doing this, but the simplest way is to use Rails’ built-in … Continue reading
Did you realize that Raleigh’s own Ruby Brigade now has a podcast? Yes ladies and gents, it’s true. I’ve been recording the last few meetups on my MacBook. The audio quality isn’t half bad. I hope to expand the podcast in the future with non-meetup content. For now, it can … Continue reading
I’ve been using the excellent fixture_replacement plugin for several months now and greatly prefer it over traditional fixtures (yes, even foxy fixtures). fixture_replacement2 adds even more goodness to the party. However, I ran into a problem today when trying to use default_xxx methods in my example_data.rb file: module FixtureReplacement attributes_for … Continue reading
Matz let Ruby 1.9 into the wild last month. One nice change (among many) is that Ruby’s painfully slow CSV library has been replaced with James Edward Gray II’s most excellent FasterCSV library. This will most likely break existing code that uses CSV. From James’ blog: The methods provided on … Continue reading