RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

GroceryBagHead — 6 posts

ComfortableMexicanSofa Rails 4 CMS Engine version bump.

See Release Notes for details
Looking for content management / admin backend for your Rails 4 app?

Grab ComfortableMexicanSofa
gem install comfortable_mexican_sofa

or in your Gemfile:

gem "comfortable_mexican_sofa", "~>1.9.0"

For Rails 3.1/3.2 there's current v1.8
Just released 1.7.0:

* Admin interface is styled using Bootstrap 2.3.0
* Forms are handled with formatted_form
* Upgraded to CodeMirror 3
* Replaced elRTE wysiwyg editor with wysihtml5
* Added support for Markdown. You can define markdown fields like this: {{ cms:page:content:markdown }}

Bunch of other small things.
Maintaining documentation is a pain in the ass. Especially when you rapidly changing underlying structure and have no time to sync docs with what is actually going on. This is an attempt to automate it. It works as follows:

Step 1: Make your controller/views that output JSON responses. Jbuilder, RABL, whatever. Doesn't matter what you choose to use.
Step 2: Write integration tests. Generally you want to assert equality of output based on input parameters, right?
Step 3: There's no step 3
Simple configuration reader: Konf. There are many like it, but this one is mine.
I just released ComfortableMexicanSofa 1.6.0. Switched rich text editor to elRTE that allowed for easier image insertion integration.