adds rails base for mdb