galetahub/ckeditor — pull request #102 by Gazer (2012-03-30 04:37:25+00:00)
Title: Ignore nil values to avoid javascript errors

When using fields_for o simple_fields_for somethimes you get an empty namespace key
that breaks the script.

Im my case I was receiving an empty namespace key in the options and the result json was :

{ .... , 'namespace': }

And then the ckedtor never load in the text area because json syntax is incorrect.