rails/rails — pull request #12112 by adamniedzielski (2013-09-03 07:32:09+00:00)
Title: form_for - fix :namespace and :as options clash

:as option should not overwrite :namespace option when
generating html id attribute of the form element. id should be prefixed
by specified namespace even if :as option is present

Add test case showing the issue and code fixing it