mendicant-university/community — comment on commit 3a1e886e34cbb3be3f8a7c0bf0311ed6ee7cc812
File: lib/readable.rb line 22
By jordanbyron:

Ahhh you are right. We probably need some test coverage on this code. But what I meant to do was:

```ruby
reading = Reading.where(user_id: user, readable_type: self.class, readable_id: id)

if reading.any?
reading.first
else
reading.create
end
```

Can you fix that and start adding tests for this feature?