fixed a bug when the rails application doesn't use simple_form, there will be an error.
the gem doesn't depand on simple_form.