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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Client Side File Uploads with Amazon S3 for a production project
One of our most recent clients needed a site to promote their 25 years anniversary event. At first, they thought to develop it on top of their Ruby powered CMS. However, after a careful analysis, we found out that they didn’t really need any of the features provided by their CMS. As a promotional site, a static website was enough to fulfil their needs. [more inside]
RubyMine 2018.1 released: Faster IDE, Run anything action, and other improvements
The new RubyMine 2018.1 features Postfix code completion, Run and Debug anything actions, significant performance updates, and many other improvements. Learn more and download the new version from the What’s new page: https://www.jetbrains.com/ruby/whatsnew/
Passenger 5.2.3 released
Version 5.2.3 of the Passenger application server released, fixing a macOS build issue and improving Python 3 support, ao: https://blog.phusion.nl/2018/04/04/passenger-5-2-3/
Multi Environment Credentials for Rails 5.2.0
Encrypted Credentials are coming in Rails 5.2.0, however they’re missing a way to handle non production credentials in a unified API. That’s why the gem creds was built. Check out a brief introduction on https://freeletics.engineering/2018/04/04/creds-multi-environment-credentials.html
Phoenix Chat for your Rails application
How to create Phoenix chat application that can be easily added to your existing Rails project and have some other nice features https://medium.com/@korolvs/elixir-beside-rails-2b94414bcb03
How Scott's Cheap Flights is Scaling with Rails
Scott’s Cheap Flights is a curator of international flight deals that travelers can subscribe to. They recently migrated from WordPress to a custom Rails app. Hear from their Lead Developer about the transition. P.S. They’re hiring for Rails devs! [more inside]
Do you really need WebSockets?
Over the years I’ve had this conversation a couple of times. This post will explain why we use WebSockets, how they can be used, what alternatives exist and when to use them. Read more…
Design Patterns in Large Rails Applications: Query Objects
Design patterns in large Ruby on Rails web applications: constructing a Query Object class that is responsible for elegantly querying a database READ MORE
How Getting Featured by Hacker News Affected my Passive Income
Two weeks ago my blog post made it to the top of Hacker News. Around 30k people read about my side project Slack bot that day. In this blog post, I will describe how it affected the project and my other passive monetization and marketing strategies. [more inside]
[Screencast] ActiveRecord Tricks
In this episode, we look at what would seemingly be simple queries, but are more complex once you start looking into them. Using built in ActiveRecord functions, we can make the queries readable and easy to work with. https://www.driftingruby.com/episodes/activerecord-tricks
A Matter of Attributes
In OOP, the member access control concept is important as it allows to control the access to encapsulated variables. [more inside]
Organize as middleware
Need to implement wired logic with a lot of if and rescue? [more inside]
Gemsmith 12.0.0
Gemsmith 12.0.0 is out with improved Semantic Versioning. Inspiration came from publishing Elm packages so Ruby and Elm libraries have similar behavior (see the Gemsmith 12.0.0 release as an example). Additionally, crafting new gems will provide better metadata so your gem will have appropriate source code, changelog, and bug tracker links within RubyGems (example). [more inside]
Big update for LanguageCards
Learn foreign language characters with this command line base flash card game LanguageCards. Currently available flash cards are Japanese Hiragana and Katakana. LanguageCards supports MVC, I18n, and YAML card sets. Please submit new flash card sets! [more inside]
Ruby Conferences & Camps in April 2018 - What's Upcoming?
Hello, at the calendar page @ Planet Ruby we collect all ruby conferences and camps from around the world. What’s upcoming in April 2018? ++ Isle of Ruby - Apr/13-15 (3d) Fri-Sun @ Exeter, England, United Kingdom ++ RailsConf - Apr/17-19 (3d) Tue-Thu @ Pittsburgh, Pennsylvania, United States ++ RubyConf Belarus - Apr/21 (1d) Sat @ Minsk, Belarus ++ Ruby X Elixir Conf Taiwan - Apr/27+28 (2d) Fri+Sat @ Taipei, Taiwan ++ See all conferences & camps in 2018. Anything missing? Updates welcome. Cheers. Prost.
Forecaster - Fetch weather data directly from the Global Forecast System
Forecaster is a gem wrapping wgrib2 to fetch and read weather data directly from the Global Forecast System. It comes with a library and a CLI allowing you to type commands like forecast for this afternoon in paris in your terminal to get the latest weather forecast.
New Org! CryptoCopycats (& Collectibles) - Unique Bits & Bytes on the Blockchain!
Hello, I’ve started a new (github) organization - CryptoCopycats (& CryptoCollectibles) - Unique Bits & Bytes on the Blockchain! to collect open source tools in ruby (incl. copycats, bitcat, base32-kai, etc.) for CryptoCollectibles incl. CryptoKitties and friends. The future is meow. Cheers. Prost.
Ruby + Herança
Não sabe Ruby e quer aprender? Vem comigo ! No post de hoje, falei sobre a implementação de herança em Ruby, vai la ver! https://merubygirl.wordpress.com/2018/03/30/classe-eu-sou-seu-pai/ [more inside]
Code editors for Mac (II)
I continue with this series analyzing the code syntax and file detection. https://medium.com/@davidmles/code-editors-for-mac-ii-5bee24ef2cee
Karafka framework 1.2 Release Notes - 3 times faster and with a more consistent API
New Karafka framework version is already available at RubyGems. In this article I describe new features, changes and some details on how we were able to reach possibility to process around 50k messages per second.
Ruby Conferences ‘n’ Camps in 2018 @ Planet Ruby Updated - What's Upcoming?
Hello, some new ruby conference ‘n camps added to the 2018 calendar @ planet ruby include ++ Ruby Open Source Software (ROSS) Conf Amsterdam (FREE) - May/11+12 (2d) Fri+Sat @ Amsterdam, the Netherlands ++ Gotham Ruby Conference (GoRuCo) - Jun/16 (1d) Sat @ Manhattan, New York City ++ Southeast Ruby - Aug/2+3 (2d) Thu+Fri @ Nashville, Tennessee ++ European Ruby Konference (EuRuKo) - Aug/24+25 (2d) Fri+Sat @ Vienna, Austria ++ Note: For the latest updates subscribe to the web feed (in XML or JSON). Cheers.
Phusion launches Fuse Panel, GUI for Passenger
Today Phusion launches the Fuse Panel, a graphical user interface for Passenger, introducing a much-requested feature: per-application log splitting. Whether you’re running Passenger open source or enterprise, the Fuse Panel’s aim is to provide tools to monitor, administer, analyze and troubleshoot your apps. [more inside]