Skip to main content

Texteditor

General • Asked by Artem Kiryanov

Hello! Can yoy help me? I have Ruby 2.1.3 and Rails 4.1.7. I use gem ( https://github.com/spohlenz/tinymce-rails ) 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?


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.