BIR adaption into Rails 4.1 app