ivaynberg/select2 — pull request #2215 by pineapple-thief (2014-03-28 04:49:26+00:00)
Title: Update select2.js

Fixes unpleasant glitch where initializing select2 on select where first input option tag has non-breakable space in innerText causes selected option to be displayed as "undefined" until user changes selection. (i.e. HTML was like

, that's what Rails 3 f.select helper generate by default).