Merge HTML with Rails app