spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
815 stars 256 forks source link

no implicit conversion of String into Hash #105

Closed Adam0964 closed 11 years ago

Adam0964 commented 11 years ago

Invoking the tinymce helper to initialize TinyMCE: <%= tinymce %> yields this error:

" no implicit conversion of String into Hash"

Did anyone run into this issue?

spohlenz commented 11 years ago

Hi @Adam0964,

I presume this is with the latest release of tinymce-rails (3.5.8.3 or 4.0)? Do you have a config/tinymce.yml file and if so, what does it contain? Could you please post a full stack trace if possible.

Adam0964 commented 11 years ago

I' m running version 4.0. The problem was solved. I changed my configuration in the 'tinymce.yml' file and the editor finally showed up. Thanks for the prompt response Sam.

Adam.

spohlenz commented 11 years ago

Thanks Adam. Closing for now, but I'd be curious to know what line in your tinymce.yml caused that particular error.

Adam0964 commented 11 years ago

Sam,

I am mot sure it was only one line in the .yml file that caused the issue. I made quite a few things and I added the <%= tinymce_assets> and that seemed to close the deal.