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.
Hanami v1.1.0.beta2
Initial support for Hanami plugins, new database CLI command hanami db rollback, add error messages to params, bug fixes. http://hanamirb.org/blog/2017/10/03/announcing-hanami-110-beta2.html
Build an Image Downloader in Ruby
Learn how to use Nokogiri + RestClient to build an image downloader. https://www.rubyguides.com/2017/10/build-an-image-downloader/
Universal Feedparser Library / Gem Update - v2.1 Adds Attachments / Media Enclosures
Hello, The universal feedparser library / gem that reads web feeds in XML (RSS, Atom) and JSON (JSON Feed) and HTML (Microformats w/ h-entry, h-feed, etc.) now includes support for attachments / media enclosures (used for podcasts, for example). Happy publishing w/ web feeds. Cheers. Prost.
Rediscovering Modularity in Ruby
At this year’s RubyKaigi conference in Hiroshima, I introduced a concept I call the Module Builder Pattern. In this post I reflect on the importance of this pattern as an example of finding new in the old—and of the properties of Ruby that make this possible—rather than immediately reaching for new features to solve problems.
Mastering Ruby: Strings and Encodings
I’ve written a book all about strings and encodings in Ruby. Strings and encodings? A whole book? Take a moment to consider the types of Ruby objects you use the most. I’ll wager strings are at the top of that list. How much do you know about them? In the forward to the book, Richard Schneeman wrote, “It wasn’t until I came across this book that I realized how deep the string “rabbit hole” went.” [more inside]
One simple trick to make Event Sourcing click
Event Sourcing is like having two methods when previously there was one. There — I’ve said it. [more inside]
yield_self in Ruby 2.5
Ruby 2.5’s Object#yield_self method makes it possible to chain operations in a different way. [more inside]
Roguelytics: Free On-Page Analytics Platform Ruby Gem Released
My name is Rachel. I would love to introduce you to Roguelytics - real-time, on-page web analytics. [more inside]
Refinery CMS 4.0.0 Released with Rails 5.1 support
We are happy to announce that we just released Refinery CMS 4.0.0 on Rubygems. With this version, Refinery CMS is now supporting Ruby on Rails to version 5.1.x. Read more: http://www.refinerycms.com/blog/posts/refinery-cms-4-dot-0-dot-0-released-with-rails-5-dot-1-support
Marx.js Ruby Gem
MARXjs was created for developers building web applications with long forms. MARXjs is a plugin that gives the developer the ability to populate any and all the fields in their forms easily and with a small 10kb file. Forms are populated with Marx Brother names, years of their movies and quotes from those movies. [more inside]
What Did I Learn After Going Eighteen Months Without Rails
When I started my adventure with Rails, I believed it to be a perfect framework, God’s gift to developers. A couple of months later, I saw big, old RoR projects… Read what happens next in my article.
Find presence validations missing non-null constraints
Based heavily on Colin Jones’ consistency_fail, here’s nullalign. It finds models that have presence validators but are missing a non-null constraint.
Visualizing your Ruby Heap
Core team member Aaron ‘tenderlove’ Patterson digs into what it takes to write a program for visualizing Ruby heap dumps.
Can you tell something about the latest Ruby news?
In the streets down below Roobykon’s offices, the crunch of fallen chestnuts under the feet of passers-by means one thing: autumn is here. But the cooling days don’t take any of the heat from the daily lives of our Ruby colleagues from around the world – as this latest haul of blog posts shows! [more inside]
Decide For Yourself If Rails Is Actually Dying
You’ve no doubt encountered the widespread argument that “Ruby/Rails is dead.” It’s hard to hear people writing off the language and framework that so many of us love using… What put my doubts to rest was reflecting on the arguments made against Ruby and Rails and deciding for myself if they were true. I encourage you to do the same… This article outlines the major themes used by the Rails-is-dead camp. It also offers some questions worth considering to help make sense of it all. Read here and decide for yourself if Ruby/Rails is actually dying
How To Create a Blog with APIQ CMS
In this article I’m going to show you how easily and quickly you could develop your own blog.
Brakeman 4.0 released: New default behavior
Our 101st release, Brakeman 4.0 is now available! The major version bump is due to changes in default behavior, including changing the default report format. Please check the release post for details! [more inside]
blockchain_with_transactions.rb - Build Blockchain / Hyperledger in 40 Lines of Ruby
Hello, I’ve added a new blockchain sample to the Awesome Blockchains collection. The blockchain_with_transactions.rb sample script uses the transactions from the Tulips on the Blockchain! Hyper Ledger Book (Anno 1637) incl. Tulips such as Semper Augustus and Admiral of Admirals. Blockchains, blockchains, blockchains! Use $ ruby ./blockscript_with_transactions.rb to run. Happy blockchaining with hyperledgers. Cheers.
CloudCannon CMS for Jekyll: Building a Multilingual Site
Use CloudCannon–a CMS for Jekyll–and a few tricks to build a multilingual static site with easy content and language management. [more inside]
Code Reading Adventures in The Land of Ruby
Let’s explore how the Awesome Print gem works behind the scenes! http://www.rubyguides.com/2017/09/awesome-print/
Partitioning Behavior of DynamoDB
The secret behind DynamoDB’s ability to handle massive amount of data with Single digit millisecond latency is partitioning behavior: https://blog.codeship.com/partitioning-behavior-of-dynamodb/. [more inside]
[Screencast] Creating a Basic Gem
Gems are a packaged library of functions that can extend your application or provide other features to your system. Learn to create and publish a ruby gem. https://www.driftingruby.com/episodes/creating-a-basic-gem