dsci / bishl

A tiny little ruby wrapper around the XML api of www.bishl.de .
MIT License
1 stars 0 forks source link

Model integration #1

Open dsci opened 13 years ago

dsci commented 13 years ago

For ActiveRecord it would be nice:

class Player < ActiveRecord::Base
     acts_as_bishl_player :for_team => 74
end 

Same for teams.

If ActiveRecord isn't used it would be nice to include the module and get the same functionality.

dsci commented 12 years ago

A ActiveModel Plugin should be better. It's Rails agnostic.