Dynamic fields helper for Rails.