x-editable for Select2: User.all.map{|u| {id: u.id.to_s, text: u.public_name}}
x-editable for Select2:
User.all.map{|u| {id: u.id.to_s, text: u.public_name}}

neonix20b/x-editable-rails,neonix20b/x-editable-rails