I got sick of having to rewrite the same user-account-management logic each time I write a new web-app, so I just created a new Ruby gem, accounts, as a web-app plug-in.  Tools used:

  • Sinatra
  • Datamapper
  • Mail
  • Haml
  • Capybara/Cucumber
  • RSpec
  • Bundler



This was a pretty-good opportunity to dive deeper into Ruby, its idioms, and its vibrant and unique culture.  

Also a great opportunity to practice TDD and BDD.  It may seem slower at times, but I have much more confidence in the result.  And if other developers discover new flaws, they or I can add new tests to document them.