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

array in yml is read as string on Heroku #24

Open
nextofsearch opened this issue Oct 30, 2011 · 1 comment
Open

array in yml is read as string on Heroku #24

nextofsearch opened this issue Oct 30, 2011 · 1 comment

Comments

@nextofsearch
Copy link

Hi,
I put array in yml file and it works just fine on my local test machine.

ad_sequence1: [z,z,z,z,z,z,z,z,z,z]
ad_sequence2: ["z","z","z","z","z","z","z","z","z","z"]

but if I deploy the code on heroku, in a sudden it is recognized as string as below:

["z,z,z,z,z,z,z,z,z,z"]
or
'["z","z","z","z","z","z","z","z","z","z"]'

Can someone please enlighten me?

@nextofsearch
Copy link
Author

I solved this problem by assigning ad_sequence as below:

ad_sequence:
- z
- z
- z
- z
- z
- z
- z
- z
- z
- z

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

No branches or pull requests

1 participant