mattfreer / active_model_form_objects

Provides an ActiveModel::FormObject module that can be included into a PORO. Includes a Generator for Form Objects.
MIT License
7 stars 5 forks source link

Destroy generator for ActiveModel:FormObject is greedy #3

Open mattfreer opened 9 years ago

mattfreer commented 9 years ago

When you run the destroy generator for an ActiveModel:FormObject, it always deletes the RSpec shared_examples, regardless of whether other FormObjects exist.

iamkhushbajwa commented 9 years ago

@mattfreer please see https://github.com/mattfreer/active_model_form_objects/pull/5