Ruby on Rails is an awesome framework for quickly and easily setting up a web application. In this tutorial I will show you how to build a blog platform using Ruby on Rails, we will make use of the gem ckeditor
which is an integration gem for Ckeditor.
This will be a two part tutorial. In this post, we will focus on ensuring that posts can be created, edited, destroyedand viewed on the index and show page. In the part 2 we will integrate authentication so that only admins will be able to create posts. For the first part we want to be able to create a post using ckeditor
, therefore our new post page will look like this: