Allow gem to work with Rails 4.1.

@joefiorini  Wanted to try this with facturas, but I'm building it in 4.1 is there a way you could support that too?