Letter opener generator is adding the gem under the development gem group but without the new line due to which when another gem needs to be added to the same group, it's not working. For e.g. when adding letter opener and rack mini profiler subsequently.
Fix
I have added new line and also proper indentation so content looks good inside the file they are added to without throwing error on subsequent generators for the same gem group.
Background
Letter opener generator is adding the gem under the development gem group but without the new line due to which when another gem needs to be added to the same group, it's not working. For e.g. when adding letter opener and rack mini profiler subsequently.
Fix
I have added new line and also proper indentation so content looks good inside the file they are added to without throwing error on subsequent generators for the same gem group.