Fix hiding the preview box when it the textarea is empty.
Set encoding in schema.rb
Upgrade Rails to 3.1.12 and Nokogiri to 1.6.0
Credit Brightbox for hosting the demo site.