We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f620476 commit e460cb7Copy full SHA for e460cb7
app/models/achievement.rb
@@ -63,7 +63,7 @@ def reload!
63
64
def load_from_yaml
65
yaml_path = Rails.root.join("config", "achievements.yml")
66
- data = YAML.load_file(yaml_path, permitted_classes: [Date])
+ data = YAML.load_file(yaml_path, permitted_classes: [ Date ])
67
data.map { |attrs| new(attrs) }
68
end
69
0 commit comments