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.
In this article, we’re going to explore the following topics:
Hello, I’ve put together a new fifa gem / library that includes all the world’s football countries and codes (incl. non-member countries and irregular codes). Use
Fifa.countries to get a list of all countries or
Fifa['ENG'] to lookup the record for England, for example.
Happy data wrangling with ruby. Enjoy the beautiful game. Cheers. Prost.
This article will introduce you to the pub/sub pattern, and show you how to improve your Rails controllers by implementing it using the whisper gem [more inside]
My side project Slack app Abot has recently reached a milestone of $10,000 total profit. In this blog post, I describe how the project has changed during the last year and what I am doing to grow and promote it. I also share some details about the usage stats and profit. [more inside]
Hello, I’ve updated the kittyverse gem / library that includes all CryptoKitties traits (e.g. fur, eye shape, pattern, …) and all fancy / exclusive / special editions cats (with time windows, limits, recipes and much more. Happy data wrangling with ruby. Cheers. Prost. PS: For a list of all fancy cats see the auto-generated Fancy / Exclusive / Special Edition Cats - Timeline page, for example.
Jason and Chris talk with David Heinemeier Hansson. David shares how we got started in programming, how he found Ruby and subsequently created Ruby on Rails, his love for Ruby, how he approaches the topic of “Rails is dead,” and much more.
You have an array with duplicates, but you want only unique elements. What can you do? Use the “Array#uniq” method. Did you know that this method takes a block? Learn more here: https://www.rubyguides.com/2019/08/ruby-uniq-method/
Import a Swagger or Open API file and create a Ruby Request Hash file including all requests and responses with all the examples. The file can be in JSON or YAML https://github.com/MarioRuiz/open_api_import
Hello, did you know? The world’s #1 (static) website compiler runs on ruby and is getting even better (and faster). To quote the latest official Jekyll tweet “We’re getting closer to releasing Jekyll 4!! A new beta dropped just now. Please give it a try and let us know how it goes!”. Happy website hacking (building) with ruby (and liquid, html & css).