Fix mapping_for for Rails 3+ when nothing is mapped.