Showing
2 changed files
with
3 additions
and
3 deletions
| @@ -320,8 +320,8 @@ module Kanjai | @@ -320,8 +320,8 @@ module Kanjai | ||
| 320 | def self.replace_attributes_marker(attributes, hash_value) | 320 | def self.replace_attributes_marker(attributes, hash_value) |
| 321 | 321 | ||
| 322 | new_attributes = attributes.deep_dup | 322 | new_attributes = attributes.deep_dup |
| 323 | - if new_attributes.keys.include?(:checked) | ||
| 324 | - new_attributes['make-checked'] = new_attributes.delete(:checked) | 323 | + if new_attributes.keys.include?('checked') |
| 324 | + new_attributes['make-checked'] = new_attributes.delete('checked') | ||
| 325 | end | 325 | end |
| 326 | 326 | ||
| 327 | attributes.each do |key, text| | 327 | attributes.each do |key, text| |