October 2006
5 posts
3 tags
Ruby on Rails: My ACL Needs Testing! (RUM ACL)
Hello. I have built an ACL (user-management) system with Rails and I need you to test it. Please download the zip, extract it, create your database and set it up, then run rake db:migrate. Some pluses of this system Uses some AJAX features to handle trivial tasks such as adding, removing to speed up those boring tasks. It’s stripped down to allow for you to style it as you see fit. It’s very...
Oct 23rd
3 tags
Rails, meet the Yahoo! Geocoding API
One thing’s for sure: consuming web services in Rails is not very well documented. There are a few ways of going about it, but the easiest way uses REST. Problem: provide a way to look up a zip code to find a city. With the returned city, search the local database for a match. Then output accordingly. Solution: Ruby on Rails with the REXML library. Forget SOAP and XML-RPC, get REST’ed! I will...
Oct 20th
1 tag
All is not lost
Thankfully, I still had my old databases with all my old posts. I had to manually copy them from the old database to the new one. Didn’t take too long, and I got to relive a little of my past during it which is always neat :) I hope to never lose my post data. It’s really cool to have a years worth of posts. I don’t have that much, but atleast there’s some of my old stale thoughts on the web.
Oct 19th
1 tag
Code Highlighter Plugin!
Finally! Oh, how I’ve longed for your sweet caress… Thanks to this how-to, I was able to get syntax highlighting working. It’s super-easy to setup, however I had to do some light digging to get the proper CSS. The one I found was similar to the RubyBlue TextMate theme that I adore. Here’s a small excerpt (for testing) of the lib/codehighlighter plugin.rb file: require 'behavior' require...
Oct 10th
2 tags
Hellow.
Now that the RadiantCMS site is back, I was able to get a copy and start using it for my site. A few months back, I did a hack in which I implemented file uploading and a meta tag manager (even though they are dead) into RadiantCMS. Many would say that I mangled the CMS, in that none of those features are really truly needed. But alas, it had to be done. Now that I’ve progressed as a Ruby...
Oct 10th