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

I get an error when I execute this code:

ActiveRecord::RecordNotUnique: PGError: ERROR: duplicate key value violates unique constraint "index_readings_on_user_id_and_readable_id_and_readable_type"

Could we be able to create a record or return an object from ActiveRelation?