removed duplicated inheritance of ActiveRecord::Base in Calculator class