removed rails 4 blocks for iframe deployment