lib/atpruby/match.rb in atpruby-0.1.1 vs lib/atpruby/match.rb in atpruby-0.1.2

- old
+ new

@@ -13,6 +13,11 @@ scope :finals, -> { where(round:'F') } def players ::Player.where(player_id:[winner_id,loser_id]) end + + def self.select_compact + select(:id, :tourney_id, :tourney_name, :surface, :tourney_level, :round, + :minutes, :winner_id, :winner_name, :loser_id, :loser_name, :score) + end end \ No newline at end of file