Convert to Rails.