Ask A Question


You’re not receiving notifications from this thread.


Artem Kiryanov asked in General

Hello! Can yoy help me? I have Ruby 2.1.3 and Rails 4.1.7. I use gem ( ) and I do everything as it says, but i when paste this code:

<%= tinymce %>
in my _form, i have error:
Psych::SyntaxError in Posts#new
(): mapping values are not allowed in this context at line 8 column 20.

How can I fix this problem?


Pysch is a YAML parser. Have you checked your .yml files to make sure you don't have any syntax errors in them?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 74,071+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.