set rails_layout