trial learning rails