CKEditor Tutorial Released for Ruby on Rails - Add CKEditor With Image Upload To Web App
A new tutorial has been released showing how to integrate the CKEditor WYSIWYG editor into a Ruby on Rails application. It specifically gives you the ability to create an admin backend to add/upload posts / pages to a website.
If you're trying to build the likes of a CMS or ECommerce application in Rails, you need to appreciate a base fact -- every system is the same.
When you use a WYSIWYG, you're basically saving HTML code into the database. Regardless of the potential security implications of this, the reality is that behind the pretty images / titles, HTML code remains. As such, if you want to get some sort of "input" system in the backend of your app, you simply need a way to manage the HTML code you're inputting.
CKEditor is the only editor (at present) which not only has a native port to Rails, but is also integrated directly into the backend of the Rails infrastructure - ActiveRecord / Paperclip. If you understand how to set it up correctly, you not only are able to get the library to show on screen, but are able to upload images directly to your server. To do this, you obviously need to understand how it saves images to the database etc, which is what this new tutorial goes into depth to explain.
You can read the tutorial about using CKEditor in Ruby on Rails here: