% content_for :javascripts do %> <%= javascript_include_tag 'ckeditor/ckeditor' %> <% end %> <% custom = { :rows => @resource.typus_options_for(:form_rows), :class => "ckeditor" } options = options.merge!(custom) %>