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

[BUG] candlestick_chart undefined local variable or method #72

Open
karatedog opened this issue Apr 19, 2021 · 0 comments
Open

[BUG] candlestick_chart undefined local variable or method #72

karatedog opened this issue Apr 19, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@karatedog
Copy link

Describe the bug
Copy/pasting the candlestick_chart example to a Sinatra example file results in an undefined local variable or method error

To Reproduce
Steps to reproduce the behavior:

  1. copy/paste the example to the 'template :index' block

Expected behavior
No errors

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser: Firefox
  • Version: 87

Additional context
Method definitions need to be moved out from the template :index definition to the Class body and the example works fine.

@karatedog karatedog added the bug Something isn't working label Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant