Rails 3.1 Asset Pipeline with jsTree and CKEditor

I have lately encountered an issue with Ruby on Rails 3.1 whereby the cleverness of the asset pipeline actually inhibits using certain javascript-based components on my site, namely jsTree and CKEditor. Annoying, I know.

The issue encountered is that some of the features load but not all, namely the styling doesn’t load. This is noticeable in the case of CKEditor mostly because there is a gaping hole for the editor in the page, so it’s clearly generating the DOM elements, but not doing much more than that!

Continue reading

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS