Ruby Gem to add functionality that allows for external codes in models