Comment on Holiday Hacks Contest – Enter to Win a MacBook AirparentComments−netmau515yThanks 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.−steveklabnik15yNo 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).
Comments
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).