Try this as per ckeditor docs for rails 4