Ask A Question

Notifications

You’re not receiving notifications from this thread.

Texteditor

Artem Kiryanov asked in General

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?

Reply

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

Reply

You can use them to: Control the behavior of jobs and pipelines. Store values you want to re-use.

Reply
Join the discussion
Create an account Log in

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

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

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