Tinymce on multiple views

Hello,

I’m pretty much brand new to ruby and rails. I’ve successfully
created a rails project and followed this tutorial:

I then wanted to play around with the tinymce editor, so I installed
the plugin, which worked fine. I then added uses_tiny_mce at the top
of my application_controller.rb file.

If I browse http://localhost/application the textarea in the default
view renders tinymce. However if I go to
http://localhost/application/some_view,
the textarea remains a plain textarea…

So I’m trying to understand why the tinymce js isn’t initing properly
in anything but the default (index) view.

Any advice is appreciated, I can provide code samples if neeed.

sorry, this had nothing to do with rails, it was a parameter for
allowed pages in the init parameters…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs