There are not many solutions for content management in Rails. We decided to take a look at Rails' popular gems and apps and decide if we should use any of them and if yes - which one is the best.
This is pretty straightforward and you just should follow this guide here. It shows how to generate the app using alchemy gem or inject Alchemy CMS into existing rails app (while doing the latter remember to make sure that Alchemy CMS has the right User model and has the #alchemy_roles method - more about it here.
It’s described here.
First, add new page layout to page_layouts.yml
- name: about
It relates to a new layout named “about” which can only be used once and it consists of article elements. There are a lot more options you can use to configure it, they can be found here.
Open the admin panel and just get into the “Pages” section and create a new page under “Index” (which is root page for whole site). Let’s call it “About”.
Voila! You should be redirected to editing of the “about” page. By default all new pages are not public so you can change it by going into “Page properties” which can be found on top in the navbar.
This is pretty much all described in this guide.