similar to: Having problem with ckeditor rubygem

Displaying 20 results from an estimated 5000 matches similar to: "Having problem with ckeditor rubygem"

2011 Jul 01
0
trouble with rails-ckeditor gem "form_tag"
Hi All, I am trying to use the rails-ckeditor gem and running into some problems. It is working fine for FORM_FOR but when implimenting on FORM_TAG, it giving errot "undefined method `ckeditor_textarea_tag'' for #<#<Class:0x9180348>:0x917e848>". My view field is <%= ckeditor_textarea_tag :msg, :toolbar=>''Full'', :width =>
2011 Dec 21
0
Cannot upload using CKEditor and Carrierwave, Rails 3.1
Uploading files won''t work properly for me in CKEditor. The file does get saved but looking at the parameters there is no authenticity token sent by CKeditor. So I get a "Can''t verify CSRF authenticity" warning, which resets the session, then I can''t update the post. The token is set in the form but CKEditor doesn''t seem to send it for picture or file
2010 May 31
2
ckeditor "Browse Server"
I started with the ckeditor rails demo and everything worked beautifully. Then I deployed a couple of sites using a heavily customized "Easy" toolbar and everything works great. In these instances I completely disable any file upload or management capability. Next, I implemented the "Full" version for another project so that I could have the full functionality of the image
2012 Nov 24
1
CKeditor linked image problem
Hi Folks Good Morning, *How to remove the Border **around the linked image in CKeditor .?? * *Please advice.* -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2013 Feb 17
5
Where do Gems Live (e.g. CKEditor)
I''m a Rails newbie and I have added the CKEditor Gem which is working okay. To configure the gem though, you have to edit the config file, which is also working when I do that. However, when I push to github and pull to my other computer, the config file is not changed. This lead me to the following broader question: when you use a gem, where does the code go and how can you make sure it
2011 Jun 03
0
CKEditor + CarrierWave
someone already used the CarrierWave for do uploads with CKEditor? I''m looking for a tutorial or some information about how do it. Thanks! -- *Fernando Aureliano* -------------------------------------------------------------- [iOSDeveloper] - *ObjectiveC* [WebDesigner] - *CSS3&HTML5* *[WebDeveloper] - RubyOnRails* *-------------------------------------------------------------- *
2008 Oct 31
2
Stubbing #javascript_include_tag in a helper spec
When writing specs for a helper method, how do you set an expectation for #javascript_include_tag ? describe NeighbourhoodsHelper do describe ''#initialise_map'' do it ''should include the "foo" JS file'' do # expectation here helper.foobar end end end I''ve tried replacing "# expectation here" with the
2013 Nov 29
4
Capistarno deploy each time ckeditor assets removed.
Hi all, I have Rails 4.0.0 app, After capistrano deploy my ckeditor_assets are being removed. Could not symlink to shared/ckeditor_assets folder. I have followed this step : namespace :uploads do > > desc <<-EOD > Creates the upload folders unless they exist > and sets the proper upload permissions. > EOD > task :setup,
2006 Apr 24
1
implementing a Slider control
i''m trying to implement a slider like "http://wiki.script.aculo.us/scriptaculous/show/SliderDemo", but i see that my code doesnt work. i seem to do everything correct but then if some one could look into it and help.. regards muddana The View Code: <%= javascript_include_tag "prototype", "effects"
2013 Mar 26
0
Assets compiler, how to copy whole directory to destination
How to instruct assets compiler to include whole directory in public/assets/somedir directory. The thing is with ckeditor which requires language dependent file at runtime. And if it doesn''t find it in assets/ckeditor/lang directory it doesn''t run. I have copied directory manualy for now. But can it be done and how by assets compiler. by TheR -- Posted via
2010 Jul 12
1
newbie: what is preferred approach for including javascript files?
Hi, What is the cost of not cacheing javascript? If that cost is serious, do I prefer to selectively include javascript files only for view where they are needed? In other words I see four options: 1) Cache everything in layouts/application.html.erb and don''t worry about selective inclusion of .js files where they are needed; 2) cache some things in (e.g., dependencies like jquery) and
2006 Oct 18
1
New to Mocha
Hi all I am new to Mocha. I am trying to use it for my pet rails project. I seem to be getting loads of errors when I add mocha as a plugin. It seems to be conflicting with TinyMCE plugin http://johnwulff.com/ articles/2006/05/31/tinymce-with-ruby-on-rails I am getting the following errors ActionView::TemplateError: undefined method `using_tiny_mce?'' for
2011 Mar 18
1
undefined local variable or method `calendar_date_select_includes' for #<ActionView::Base:0x7bfd920>
Here''s what I did: 1. gem install calendar_date_select 2. Then in my environment.rb I put: config.gem "calendar_date_select" 3. And in my template file: <%= javascript_include_tag "prototype" %> <%= calendar_date_select_includes %> But still an error posts like this : undefined local variable or method `calendar_date_select_includes'' for
2010 Nov 20
0
Enabling preprocessing in Erubis makes views much faster
I wrote a 5 line hack that you can drop into your initializers directory to enable preprocessing in Erubis. This will run code in < %=== %> brackets at compile time making views considerably faster for rails helpers that only need to be evaluated once instead of on each render (the Erubis docs mention 20-40% speed increase but obviously it depends on the amount you precompile). For example:
2006 Jan 25
3
Application Helper and Javascript
I have a "javascript_include_tag" including a Javascript function. I have a function being invoked via a helper in the same view, which prints out a script tag that uses the javascript function above. Problem is, the function being invoked via the helper can''t find the javascript function included in the "javascript_include_tag". I hardcoded the javascript that
2008 Feb 01
0
javascript_include_tag and controller actions
Hello folks, I''d like to include the javascript generated by an RJS file in an RHTML file using the <script></script> tags. I was going to use javascript_include_tag to do this, mostly in order to ensure that the contents are not cached by the browser. Unfortunately, javascript_include_tag appends a ".js" to the file name if there is not a period in the file name.
2010 Jun 02
1
Ajax with JQuery
I have used Ajax link and live validation in index.rhtml Ajax link requires JavaScript "prototype" and live validation requires "jquery". i got "element.dispatchEvent is not a function" on the firebug console when i used "prototype" and "jquery" in same page index.rhtml after i removed javascript "prototype" library, i got "Ajax is
2005 Dec 18
1
problems with text_field_with_autocomplete
I''m trying to set up a search field with autocomplete. I have verified that the server is called when I type a letter in the box, and that the handler creates the correct instance variable. However, I never see the partial that is supposed to be rendered. Here are the relevant files. I included their paths/names in case I am missing some nuance of the naming conventions.
2012 Aug 29
7
custom js in rails project
Hello, I have a rails project with one controller and one action, as simple as posible. And I''m trying to put some custom css and js to my own index.html.erb (not public/index.html.erb), I inluded this on the layout file: layout file: <!DOCTYPE html> <html> <head> <title>Volei</title> <%= stylesheet_link_tag "application", :media =>
2011 Sep 01
7
couldn't find file 'jquery' rails 3.1 stable mountable engine
When I create a new engine in Rails 3.1 stable and then access the dummy app or the engine I get an error say that the app can''t find jquery. I''ve created the engine using rails plugin new coffee --mountable I''ve also created a basic controller in the engine and the dummy app. If I remove the javascript include tag, everything works. But with the tag there it just