Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstalling simpleform gem

I have commented out gem 'simple_form' from my Gemfile with Rails Rails 3.2.12 and Ruby 2.0.0p0. When I do rails generate scaffold, I still get simple_form forms.

Is there a way to get the original form_for scaffolds instead?

like image 583
Abdo Avatar asked Jun 30 '26 16:06

Abdo


1 Answers

The following should remove it properly:

# rails destroy simple_form:install 
# bundle

Also, you can check for files in lib/templates and remove the associated ones for simple_form.

http://railscasts.com/episodes/234-simple-form?view=comments#comment_150699 http://github.com/plataformatec/simple_form/issues/680

like image 193
Mark Stanislav Avatar answered Jul 03 '26 06:07

Mark Stanislav



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!