# Tinymce on multiple views

**URL:** <https://www.ruby-forum.com/t/tinymce-on-multiple-views/115687>\
**Category:** Rails\
**Created:** [September 27, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/tinymce-on-multiple-views/115687 "2007-09-27T17:05:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bakedbean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ce73a5/32.png) [@bakedbean](https://www.ruby-forum.com/u/bakedbean)\
**Post date:** [September 27, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/tinymce-on-multiple-views/115687/1 "2007-09-27T17:05:38Z")

</div>

Hello,

I’m pretty much brand new to ruby and rails. I’ve successfully  
created a rails project and followed this tutorial:  
[http://developer.apple.com/tools/rubyonrails.html](http://developer.apple.com/tools/rubyonrails.html)

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](http://localhost/application) the textarea in the default  
view renders tinymce. However if I go to  
[http://localhost/application/some\_view](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.

---

<div class="post-metadata">

**Author:** ![bakedbean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ce73a5/32.png) [@bakedbean](https://www.ruby-forum.com/u/bakedbean)\
**Post date:** [September 27, 2007, 7:42pm UTC](https://www.ruby-forum.com/t/tinymce-on-multiple-views/115687/2 "2007-09-27T19:42:58Z")

</div>

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