formtastic_auto_select2
Provide select2 input class for semantic_form (formtastic).
Based on auto_select2 gem.
Installation
Add this line to your application's Gemfile:
gem 'formtastic_auto_select2'
Usage
Static select2
f.input :project, as: :select2
Ajax select2
f.input :user, as: :ajax_select2, placeholder: t(:select_user_from_list),
default_class_name: :user, default_text_column: [:id, :firstname, :lastname]
More info see in documentation of auto_select2 gem and in auto_select2_tag_example project