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.
FizzBuzz (1, 2, Fizz, 4, Buzz,...) by Example - There's More Than One Way To Do It
Hello, I’ve added FizzBuzz (1, 2, Fizz, 4, Buzz,…) by Example - There’s More Than One Way To Do It by Tom Dalling, Paweł Świątkowski, Gerald Bauer, et al to the Yuki & Moto Press Bookshelf. Free Online Books (and Booklets) about Ruby ‘n’ Friends in the Manuscripts format and built with Jekyll and Octobook themes. Happy reading. Cheers.
Rails Object#presence vs Object#try
I am curious about performance for Rails Object#presence vs Object#try - here is result
Speed up your Ruby on Rails app with frozen constants
Freeze your constants, make them immutable and reduce memory allocation at once - learn how
18 Companies Using Rails in 2018
What companies use Ruby on Rails to power their user-driven applications? Here are just a few that depend on Rails every day (that you’ve probably heard of before!) https://blog.planetargon.com/entries/18-companies-using-ruby-on-rails-in-2018
API Versioning with Ruby on Rails: What Gems Are the Best
https://yalantis.com/blog/api-versioning-with-ruby-on-rails/ There’s a great number of gems and approaches for API versioning with Ruby on Rails. In this article, we describe different gems and compare different approaches to API versioning.
A Couple of Things You’ll Love about Crystal Language - a Rubyist’s Perspective
Crystal - few reasons you have to try it.
Creating a GTK+ ToDo application with Ruby
I published a new tutorial for creating a GTK+ ToDo application with Ruby.
RSpec: learn how to combine stubs and mocks and create spies structure
RSpec spies is a test structure that allows you to keep order and clarity of your test path. It’s a three-step flow: setup, exercise, and verification - I want to learn more
Is your company using React+Rails?
I’m looking for some companies to interview and highlight (with a link back!) for a blog post on React+Rails. If your company is using Ruby on Rails with React.js, I’d love to hear from you. [more inside]
yield_self is more awesome than you could think
Just a few words on yield_self awesomeness and few (weird) usages following from the fact it can return Enumerator
RSpec: the difference between mocks and stubs
Watch stubs and mocks in action and learn about the differences between them - READ MORE
Isle of Ruby: Early Bird tickets and more!
We’ll begin selling Early Bird tickets for Devon-based Isle of Ruby at 10am GMT on Thursday Jan 25. Come join us in April!
tty-markdown initial release
tty-markdown helps you convert a Markdown text or document into a terminal friendly output.
How to avoid making your microservices too small
We did an in-depth interview with Darby Frey of Gamut. He has tons of experience with running microservices at scale on infrastructure like Heroku. (they featured him). You’ll learn:
Ruby String Methods (Cheat Sheet)
In this article you will find the most useful Ruby string methods with examples! http://www.rubyguides.com/2018/01/ruby-string-methods/
Explaining variable -a base Ruby refactoring pattern that should be known to everyone
Explaining variable refactoring, as its name is pointing, depends on moving logic of a complicated expression to temporary variables with meaningful names - I want to learn how to do this
Rubocop: Getting to Green in a Huge Rails App
To help improve a teams code reviews and let folks focus on what’s important. A team can collectively agree & enforce a Ruby style guide. This post helps you get a large app quickly under control when the team agrees to some conventions.
Stimulus JS Framework Introduction
Basecamp recently released a new Javascript framework called Stimulus. Check out the screencast to see how it compares with jQuery, React, Vue, etc and how you can use it to build an interactive frontend in your app.
List of Ruby Learning sites
A list of popular sites, blogs and tutorials for learning Ruby - [more inside]
PayPal Payouts in Ruby on Rails
PayPal Payout is a service that conveniently allows you to send money instantly to hundreds of recipients at one time. We painlessly integrated it into one of our client’s apps. Before we implement an example in Rails using the Ruby PayPal SDK, let’s compare it to its counterpart also from PayPal – Mass Pay. [more inside]