Skip to content

Comment on Holiday Hacks Contest – Enter to Win a MacBook Air

Comments

Well I've never used Heroku or IndexTank (or Rails for that matter), but I've had a small weekend hack I've been wanting to do for a while now involving a spattering of search. I was going to try out Solr but I think I'll learn Rails instead. I guess their marketing worked on me.

Btw, we need more hacking trophies, something made out of circuit boards, transistors, and wire, something that will put those little league "I played a sport!" trophies to shame. I suppose a Macbook will be an acceptable substitute.

A small note, if you don't want to actually use Rails, you can use any Rack-based Ruby web framework (aka all of them). You may want to also look at http://sinatrarb.com, which is much simpler than Rails.

That said, Rails is really good! Especially Rails 3.

Thanks Steve, that's good info. I've got a pretty good backing on Sinatra from other languages so that will ease the learning curve on Ruby.

No problem. I happen to be hacking on a Sinatra app that runs on heroku right now, so here's a Gist:

https://gist.github.com/744173#file_a%20simple%20sinatra%20a...

Check it. I wrote this mostly from memory and a few quick copy/pastes, I'll update something if I did something dumb. But that should work.

You'll probably want to add their gem to the gemfile for this contest. Stick "gem 'indextank'" in your pipe and smoke it (aka 'bundle install' again).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.