antirez/lamernews — pull request #141 by mulderp (2013-07-02 09:55:02+00:00)
Title: Use helper to setup redis

This makes it easier to load the app.rb in the console with:

irb -r ./app.rb

and to do something like this in IRB:

irb(main):002:0> setup_redis
irb(main):004:0> get_news_by_id(1)