PoS using ActiveRecord and command line ui