The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Hello, I’ve updated the little command line tool / client called footty that lets you query the online football.db HTTP JSON API services for today’s and tomorrow’s matches for the football world cup in russia 2018 - the world’s biggest show (3+ billion fans). What’s news? footty now includes the full time scores and goal getters e.g. POR 3-3 ESP: Ronaldo 4’ (pen.) Ronaldo 44’ Ronaldo 88’; Costa 24’ Costa 55’ Nacho 58’. Enjoy the beautiful game with ruby. Match day 3 (in JSON) thanks to /world-cup.json. Argentina vs Iceland upcoming. Kick off in seven hours.
In the realm of Rails Ahoy is a gem which we can use for tracking various events and visits as we want. It has saved a lot of time and effort for us! [more inside]
In this post I show you how you can use Whenever gem to manage recurring tasks in your Rails app, and how to integrate it with Rbenv and Capistrano [more inside]
Meet Pagy, a new pagination library for Ruby on Rails. Developed with performance in mind, without disregarding being easy to use. https://www.imaginarycloud.com/blog/paginating-ruby-on-rails-apps-with-pagy/
In his talk at the Amsterdam Ruby Meetup, Niels van der Zanden explores how any small business trying to sell a thing on the internet can still get a feel for who their customers are, without overstepping the legal boundaries of the new data protection regulation: https://blog.phusion.nl/2018/06/14/build-measure-learn-after-gdpr/
Spree is a complete, modular & API-driven open source ecommerce solution for Ruby on Rails. [more inside]
An introduction on how to design and consume APIs in Rails using GraphQL instead of REST. https://vitobotta.com/2018/06/13/using-graphql-with-rails/
How to use Rubocop day by day for (code) sanity https://blog.dnsimple.com/2018/06/quick-tips-for-practical-rubocop-workflow/
Why do we use classes instead of having just one GIGANT blob of ugly code? https://www.rubyguides.com/2018/06/why-do-we-create-classes/
Semaphore has increased the free CI/CD capacity on all open source organizations from 2 to 4 Boxes: https://semaphoreci.com/blog/2018/06/13/doubled-free-cicd-capacity-for-open-source.html
On Unix-like systems, setting sufficiently strict permissions on a directory allows one to disallow access to its containing files and subdirectories. You with me? Of course you are. But you’re wrong. Both on macOS and Linux, we’d be foolish to cling to this fundamental security assumption, due to magic tricks that we can perform on inodes: https://blog.phusion.nl/2018/06/13/you-cant-trust-your-parents-to-protect-you/
In this post we will share with you a detailed tutorial on how to integrate Google Maps into Ruby on Rails App. [more inside]
Passenger 5.3.2 was just released, fixing a file system access race condition [CVE-2018-12029] as well as various SpawningKit exploits [CVE-2018-12026 - 12027 - 12028]. We urge you to upgrade your version immediately. The release notes contain more information on the measures we’ve taken to recognize security flaws quicker in the future: https://blog.phusion.nl/2018/06/12/passenger-5-3-2-various-security-fixes/
https://github.com/telegram-bot-rb/telegram-bot/wiki/v0.14-announcement This update resolves some issues that had to be addressed before first major release. It brings breaking changes trying to make bots more secure and their source-code more consistent, while keeping it clean and simple - this is what we like Ruby for.
Did you know Bundler can do much more than just install gems? I’ve just shared convenient shortcuts to my most-used Bundler features in a new post on Everyday Rails.