Fix `_write_layout_method`
Fix `_write_layout_method`

Vasfed/rails,iainbeeston/rails,yhirano55/rails,rails/rails,esparta/rails,BlakeWilliams/rails,betesh/rails,MSP-Greg/rails,starknx/rails,kmcphillips/rails,prathamesh-sonpatki/rails,bogdanvlviv/rails,shioyama/rails,yalab/rails,Envek/rails,Stellenticket/rails,kddeisz/rails,EmmaB/rails-1,tgxworld/rails,mechanicles/rails,repinel/rails,prathamesh-sonpatki/rails,Vasfed/rails,betesh/rails,georgeclaghorn/rails,iainbeeston/rails,yhirano55/rails,MSP-Greg/rails,notapatch/rails,Edouard-chin/rails,bogdanvlviv/rails,MSP-Greg/rails,yhirano55/rails,tjschuck/rails,esparta/rails,Vasfed/rails,notapatch/rails,mechanicles/rails,tgxworld/rails,fabianoleittes/rails,starknx/rails,lcreid/rails,palkan/rails,rails/rails,vipulnsward/rails,prathamesh-sonpatki/rails,prathamesh-sonpatki/rails,tgxworld/rails,schuetzm/rails,jeremy/rails,arunagw/rails,yhirano55/rails,repinel/rails,jeremy/rails,Edouard-chin/rails,yalab/rails,kddeisz/rails,betesh/rails,palkan/rails,Edouard-chin/rails,Envek/rails,jeremy/rails,yawboakye/rails,starknx/rails,tjschuck/rails,tjschuck/rails,shioyama/rails,Stellenticket/rails,yawboakye/rails,esparta/rails,rails/rails,bogdanvlviv/rails,gauravtiwari/rails,joonyou/rails,yahonda/rails,EmmaB/rails-1,schuetzm/rails,jeremy/rails,shioyama/rails,joonyou/rails,tgxworld/rails,georgeclaghorn/rails,kddeisz/rails,joonyou/rails,lcreid/rails,gauravtiwari/rails,gauravtiwari/rails,lcreid/rails,lcreid/rails,eileencodes/rails,rafaelfranca/omg-rails,yahonda/rails,Erol/rails,arunagw/rails,georgeclaghorn/rails,BlakeWilliams/rails,Vasfed/rails,yawboakye/rails,palkan/rails,georgeclaghorn/rails,Erol/rails,bogdanvlviv/rails,tjschuck/rails,iainbeeston/rails,fabianoleittes/rails,vipulnsward/rails,shioyama/rails,arunagw/rails,BlakeWilliams/rails,fabianoleittes/rails,esparta/rails,Stellenticket/rails,Envek/rails,iainbeeston/rails,notapatch/rails,Edouard-chin/rails,palkan/rails,mechanicles/rails,kmcphillips/rails,rafaelfranca/omg-rails,kmcphillips/rails,schuetzm/rails,betesh/rails,MSP-Greg/rails,Stellenticket/rails,yawboakye/rails,kddeisz/rails,joonyou/rails,repinel/rails,kmcphillips/rails,schuetzm/rails,yahonda/rails,BlakeWilliams/rails,rafaelfranca/omg-rails,Envek/rails,mechanicles/rails,notapatch/rails,EmmaB/rails-1,eileencodes/rails,Erol/rails,yahonda/rails,vipulnsward/rails,vipulnsward/rails,yalab/rails,rails/rails,eileencodes/rails,arunagw/rails,yalab/rails,eileencodes/rails,repinel/rails,fabianoleittes/rails,Erol/rails