How to paginate HABTM relationships in Ruby on Rails

If you’re new here, you may want to subscribe to my RSS feed. Thanks for visiting!I looked everwhere for a quick example of Ruby on Rails pagination with a has_many_and_belongs_to (HABTM) relationship, but could not find any good examples of what the code looks like.
The application is a photo album. Photos can belong […]

Why I believe in Santa Claus - My top ten reasons

It’s Santa Claus time, but my kids just seem to be getting more and more skeptical each year about Santa Claus.
Well, I believe in Santa Claus. That’s my story and I’m sticking to it.
So here’s my top ten reasons for believing in Santa Claus:

Just because we don’t understand something, doesn’t mean it ain’t so.
Santa […]

Rails test bed site - Cool Nick Names

I wanted to try out a bunch of rails stuff to see how hard it was to build a site from scratch using  plugins like login engine, acts_as_taggable , RJS, acts_as_rateable.
So Cool.Nick.Name is the result.  About 30 hours of work and I have a  user generated content site working.  Probably 15 hours was spent on […]

Google Patent Search

Google has released a beta version of Google Patent Search,
which makes it easy to search the full text of the U.S. patent corpus
and find patents that interest you. Start your exploration at www.google.com/patents or visit the Advanced Patent Search page to search by criteria, including patent number, inventor, and filing date. You can view images […]

Kuler - Check it out for great color schemes

I heard about Kuler on This Week in Media.  It seems like a cool color scheme application.

It’s about time we got serious about training the Iraqi army

For the last 18 to 24 months, we have been told that training the Iraqi army and police is the key to getting US troops home. Today, I read the Wall Street Journal and find out that we have only 4,000 troops dedicated to training and the training occurs using 10-12 soldier teams. […]

Peace in Iraq - We must address the will to fight

Wars are won, not by destroying an enemy’s capability to fight, but by destroying their will to fight. Throughout history, whenever the will to fight remains the battle continues as it does in Iraq.
It seems to me that achieving stability and peace in Iraq requires more debate about what will cause the […]