Archives for May, 2007
Morning Brew #17
Another cup of fresh Rails and not so Rails brew. If you’d like to send in a link, please use this page and for all your Ruby On Rails API documentation needs check out Noobkit.
Rails
Multibutton form - another Railscast.
Software
Aptana on Ubuntu - how to install Aptana on Ubuntu.
Automating Windows applications with Ruby (by [...]
Morning Brew #16
Another cup of fresh Rails and not so Rails brew. If you’d like to send in a link, please use this page and for all your Ruby On Rails API documentation needs check out Noobkit.
Rails
New Database Rake Tasks - more goodies in Rails Edge (by Ryan Daigle)
validates_numericality_of - more options and improvments (by Ryan [...]
Morning Brew #15
Another cup of fresh Rails and not so Rails brew. If you’d like to send in a link, please use this page and for all your Ruby On Rails API documentation needs check out Noobkit.
Rails
Scaling to multiple databases with Rails
Ruby
Playing with blocks : Part 1
Web Development
CommunityOne 2007: G2One - Groovy and Grails pre [...]
Morning Brew #14
Another cup of fresh Rails and not so Rails brew. If you’d like to send in a link, please use this page and for all your Ruby On Rails API documentation needs check out Noobkit.
Ruby
JRuby: Understanding the Fuss (via Juixe)
Software
Possword Generator - an online password generator.
Quality - a talk by Douglas Crockford on history of [...]
Morning Brew #13
Another cup of fresh Rails and not so Rails brew. If you’d like to send in a link, please use this page and for all your Ruby On Rails API documentation needs check out Noobkit.
Rails
has_many_polymorphs - a better version of acts_as_taggable (via zubin8or).
Capistrano Task to Load Production Data (by Peter Harkins)
Ruby
UUID - generate UUID/GUID in [...]
Generate Google sitemap with Rails and RXML
It occurred to me that a good idea would be to add a Google sitemap to Noobkit, especially because it’s using frames. Here’s how I went about it:
In a regular controller I load up all my @packages but instead of a plain sitem_map.rhtml, I have a site_map.rxml file which looks like this:
xml.instruct!
xml.urlset “xmlns” => “http://www.google.com/schemas/sitemap/0.84″ [...]
Morning Brew #12
Another cup of fresh Rails and not so Rails brew. If you’d like to send in a link, please use this page and for all your Ruby On Rails API documentation needs check out Noobkit.
Web Development
Optimizing Page Load Time.
14 rules for fast web pages (via Jupiter IT)
So Your Co-Worker Isn’t Your Best Friend. Now What? [...]
IP to integer (ip2int, int2ip)
When storing IP in a database, it’s much better to store them as integers rather than VARCHAR(15). Here’s a handy function to convert an IP string to integer and back.
# Converts an IP string to integer
def ip2int(ip)
return 0 unless ip =~ /d{1,3}.d{1,3}.d{1,3}.d{1,3}/
v = ip.split(’.').collect { |i| i.to_i }
return (v[0] [...]
Morning Brew #11
Another cup of fresh Rails and not so Rails brew. If you’d like to send in a link, please use this page.
Rails
Using Capistrano to Overcome Deployment Hurdles on Dreamhost (by Jason Harrelson)
RailsCasts - tons of short Rails screen casts.
The Secret to Memcached - the easier way to handle cache expiration (via DHH)
JavaScript
Interface Elements for jQuery.
Ruby
RSpec [...]
Announcing Noobkit Docs
Last week I saw a post by Rob Sanheim about sucky Rails documentation. I don’t know why, but I got seriously inspired and started playing around with RDoc.
4 hours later, I had RDoc generator importing everything into a database and a few hours later it was completely browse-able.
After that, it’s was all the matter of [...]
Find It Quickly
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.


