Railsvendor is a project mainly written in RUBY and JAVASCRIPT, it's free.
An example store application that uses ActiveMerchant
RailsVendor An example store application written in rails to demonstrate ActiveMerchant.
Install haml gem install --no-ri haml