# local variables in partials
Components are on the way out of Rails, and partials are being favoured to allow us to abstract out common display functionality. Rails allows us to pass in variables to control that functionality, but what if you want to pass in certain variables in only certain circumstances?