GitHub to Launch Sponrship System

GitHub does not charge fees, and the first year will cover the costs of processing payments
24 May 2019   772

System called GitHub Sponsors is launched to provide financial support for open source projects. The new service provides a new form of participation in the development of projects - if the user does not have the opportunity to help in the development, he or she can join the projects of interest as a sponsor and help through funding specific developers, maintainers, designers, documentation authors, testers and other participants involved in the project.

Using the sponsorship system, any GitHub user can monthly transfer fixed amounts to open source developers who have registered with the service as members willing to receive financial support (the number of participants is limited at the time the service is tested). Sponsored members can define support levels and associated sponsor privileges, such as exceptional bug fixes. The possibility of organizing financing not only individual participants, but also the groups of developers involved in the work on the project is being considered.

Unlike other co-financing sites, GitHub does not charge fees, and the first year will cover the costs of processing payments. In the future, the introduction of fees for processing payments is not excluded. To support the service, a special fund called GitHub Sponsors Matching Fund has been created, which will deal with the distribution of financial flows.

Ruby/RoR News Digest 23-29.11

Using UUIDs in Rails 6 with PostgreSQL and ActiveRecord, faking external services in tests, track email statuses in RoR and more
29 November 2019   147

Greetings! I hope your week went great! Here's new Ruby news digest.

Learn about Ruby 2.7's Enumerator#produce, the surprising behaviour of empty arrays, watch Matz's Ruby progress report at RubyConf2019 in Nashville and other interesting updates and news.

Guides

  • Using UUIDs in Rails 6 with Postgres and ActiveRecord 

UUIDs  are an alternative primary key type for databases with its advantages and disadvantages over standard, ordered integer-based keys; Rails 6 can operate with it, so here's the tutorial

  • Ruby 2.7's Enumerator#produce 

Tutorial on produce - it provides a way to generate sequences, much like inject but without a single end result

  • Empty arrays: surprising behaviour

Examples on the arrays' behaviour you might not know

  • Rails 6 bulk insert records

Rails 6 added insert_all, insert_all! and upsert_all to ActiveRecord::Persistence, to solve the above issue to invest bulk records, learn how to use it

  • Faking External Services in Tests with Adapters

 Learn how to fake external services for testing purposes

  • Configurable Ruby Modules: The Module Builder Pattern 

Learn how to tailor a module to the context of the including class, enabling code reuse and proper specificity to add more flexibility to your libraries.

  • Track email statuses in Ruby on Rails with SendGrid

Tracking status of the email if really valuable feature sometimes, I lack it often.

  • Using Bootstrap with Rails Webpacker

Learn how to integrate Bootstrap 4 with Rails and Webpacker 4.

Articles

  • 10 New Things in Active Record (in Rails 6) 

A neat article that talks about things like rails db:prepare, database switching, #annotate, #touch_all and implicit ordering by a specific column (which is nicer than using a default scope).

  • How I Approach Test Coverage Metrics

Comparing 90% coverage to 100% coverage really isn’t a great use for you.

Updates

  • Ruby 2.7.0 Preview 3 Released

It's less than a month now from the final release of Ruby 2.7 but you can now play with pattern matching, the improved irb, and other new features though, the current preview release is pretty stable.

Video

  • RubyConf 2019 - Opening Keynote - Ruby Progress Report by Yukihiro Matzumoto