Please sign in to comment.
Stop SafeBuffer#clone_empty from issuing warnings
Logic in clone_empty method was dealing with old @dirty variable, which has changed by @html_safe in this commit: rails@139963c This was issuing a "not initialized variable" warning - related to: rails#5237 The logic applied by this method is already handled by the  override, so there is no need to reset the variable here.
- Loading branch information...
Showing with 1 addition and 3 deletions.