This is bad formatting. New lines for the same code statement should be indented like above at line 104. Also, this only needs to be 2 lines, not three. So:

```
@user.memberships.where(group_id: group.id)
  .first.created_at - 1.week
```