Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in seeds file listing on installation.md #354

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

mattvanhorn
Copy link
Contributor

The URL params will be passed with string keys, but the line with @beacon_path_params.blog_slug is looking for an atom as the key, and so will fail with a KeyError, like so:

(KeyError) key :blog_slug not found in: %{"blog_slug" => "my_first_post"}

This took me a little while to figure out, so hopefully this will save someone some time, and come up when they google the error message.

The URL params will be passed with string keys, but the  line with `@beacon_path_params.blog_slug` is looking for an atom as the key, and so will fail with a KeyError.
@leandrocp
Copy link
Contributor

Thanks!

@leandrocp leandrocp merged commit 52b2d3c into BeaconCMS:main Oct 10, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants