Adds rails part of the backbone