Skip to content

Active Admin Printing Raw HTML

November 6, 2011

My development log was spitting out a number of instances of “String#to_html was called without RedCloth being successfully required”.  This turned out to be a conflict between Active Admin and Stringex.  It turns out that they both declare a to_html method but in the order of loading, Stringex’s version prevails.

In the latest updates in active admin this conflict has been removed, but not so in the latest release.  To get the latest updates from the master branch explicitely grab the master branch in your Gemfile:

# => unreleased changes in the activeadmin master branch remove to_html conflict with stringex
gem "activeadmin", git:'git://github.com/gregbell/active_admin.git', branch:"master"
Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: