Do you need to save the record to the database? Wouldn't it be enough to just instantiate it?

```ruby
record = PgArray.new(ratings: (1..10).to_a)
```