(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* | |
| https://www.youtube.com/watch?v=iOGIKG3EptI | |
| https://github.com/awslabs/aws-go-wordfreq-sample/blob/master/cmd/uploads3/main.go | |
| https://docs.aws.amazon.com/sdk-for-go/api/aws/ | |
| - first configure your aws credentials run: aws configure | |
| - go get -u github.com/aws/aws-sdk-go/aws | |
| - login to UI web aws s3 interface | |
| - go to S3 service |
| columns_that_make_record_distinct = [:some_id, :another_name] | |
| duplicate_records = Model.where.not(id: Model.select("MIN(id) as id").group(columns_that_make_record_distinct)) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.