This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ActionDispatch | |
module Http | |
module Parameters | |
private | |
def encode_params(params) | |
return params unless "ruby".encoding_aware? | |
if params.is_a?(String) | |
return params.force_encoding("UTF-8").encode! | |
elsif !params.is_a?(Hash) | |
return params |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 Temple of Plenty | |
4 Temple of Abandon | |
8 Forest | |
4 Temple of Mystery | |
4 Hero of Leina Tower | |
2 Centaur Battlemaster | |
2 Voyaging Satyr |