#39 ✓wontfix
Jonah Brown

undefined local variable or method `uses_tiny_mce'

Reported by Jonah Brown | July 25th, 2011 @ 09:25 AM

I am using Ruby Rails 3.0.7 I have tried both the gem install and git install. I have out the uses_tiny_mce in my views controller and get "undefined local variable or method `uses_tiny_mce' .

Here is what is in my views controller:
class HtmlmesController < ApplicationController

def index uses_tiny_mce :options => {

                        :theme => 'advanced',
                        :theme_advanced_resizing => true,
                        :theme_advanced_resize_horizontal => false,
                        :plugins => %w{ table fullscreen }
                      }
@htmlcode = Htmlme.new
@htmlme = ""

end

def create

@htmlcode = Hhtmlme.new(params[:htmlmes])
@htmlme = Graphicad.find(params[:id])
render :action => "index"

end

end

Can I get some halp on what to do?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Ruby on Rails plugin that allows easy implementation of the TinyMCE editor into your applications.

Attachments

Tags

Pages