trial.rb