Memoizing the adapter seems to break the models on Heroku, could not replicate on local machine in production so no tests added. The constants only returned an sql LIKE operator depending if the adapter was postgres so cannot see any performance issues.
…adapter settings, ActiveRecord::Base.configurations is empty on heroku.
…demirror.js instances how up. Also added custom install location options for CKEDITOR forgot to add in codemirror commits"