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.
API of the future
In this short blogpost I describe what ‘future’ solutions exists when it comes to building your APIs. I also evaluate whether they’re possible to implement today, with Rails.
Cucumber tools for Real Life
Do you use Cucumber to solve your many QA/testing needs? Are you one of the lucky ones who knows how to use it as it was meant to be used? Are you one of the unlucky ones who works on a team that uses it in a way that would make its creators cry? If you answered 'yes' to any of those questions, then I've got a toolbox for you! Read more
10 benefits of Code Review for the win
I have just shared my ideas about 10 benefits of Code Review for the win Read more
Top sites built with Ruby on Rails
Ruby in Rails has graduated from being a simple framework to a powerful tool in its own right. Its popularity has soared in recent years and for good reason; it offers stable performance and takes very little time to develop powerful applications making use of gems. Read more
How to share session between Rails 4 applications?
Have you ever need to share session between two rails applications? Read more
THE 15 BEST GEMS FOR RUBY ON RAILS WEB APPLICATIONS
Ruby is a breakthrough in allowing web development as one can make use of Gems to fill in functionalities. This allows one to build a web app in matter of days which would usually take months to develop. Gems are highly modular and perform a specific function, which makes integrating them into new applications extremely easy. Out of the multitudes of gems created by the Ruby community at large for use, we pick fifteen which, in our opinion, are the recommend ones that should be present in every web application. Read more
Splitting Monolithic Rails Application to Microservices
If you are facing a monolith application which has become unmaintainable and difficult to deploy, you need to know some ways to manage it. If your team has to go through thousands of lines in order to understand the project and to make some changes, it is time to split them. Read More!
Upgrade Rspec 2 to Rspec 3
This is a very detailed information about upgrading from Rspec 2 to Rspec 3. After finished the upgrade, it seems quite easy. Bump the version, fix old syntax. Actually it’s not that easy as I thought originally. It traps me several times, I’m putting it here, other guys can refer to. I didn’t quite follow the official guide. Instead, I directly go to 3 from 2.
The Power of ActiveRecord's '#update'
We all strive to keep our controllers skinny. The first sign of a fattening controller is commonly in the update action. However, if we understand rails and the power of the update method, we can keep this action looking like it was just generated.
Making Rails asset pipeline faster
We all know that for a rather large Rails app where the front-end is quite stuffed, the asset precompilation and more importantly - development mode changes are far from instantaneous - article on how to alleviate that
Behavior changes in Ruby 2.4
Ruby 2.4.preview1 was recently released, so I wrote an article describing some behavior changes.
Parallel processing in ruby
Parallelization is a powerful concept. It can speedup execution n-fold. A lot of processes are inherently concurrent. Such processes have to be identified and exploited. Read more
UI Tests With Capybara In Ruby
Your Rails web application should work every time, for every user, and on every browser. Here’s how to use Capybara to mimic how a user would locate web elements in your app.
Exception Notifier: Receive Free Emails For The Unhandled Rails Application
Mutation testing for Rails views
I’ve been experimenting with mutant for a long time now and I’ve been very happy with the result - a 100% mutation coverage on some of my projects. There was one part which I wasn’t happy about - I wasn’t able to cover my rails views with mutant. Read more
tensorflow is coming to ruby!
This Blog encourages the idea of combining tensorflow and ruby.
Building a Voice Alerts Broadcast System using Ruby and the Nexmo Text-to-Speech API
Sometimes a text message won’t do. When you really want to be alerted about something important you probably want to receive an actual phone call; whether it’s because a server is down, or because a natural disaster has occurred in your area. Read more
Obfuscating the Obvious
This post explores how making assumptions or inferences in your code ultimately leads to obfuscating what should be obvious.
[gem] SuperToken: ActiveRecord unique token generator with prefix and length options
SuperToken is a fork of HasSecureToken module which is provides an easy way to generate uniques random tokens for any model in ruby on rails. SuperToken gives you a way to prefix token with string and change token length. Read more
A Review Of Immutability In Ruby
This article is a review of the options available to Rubyists regarding immutability. We’ll look at the built-in features of Ruby 2.3, and a few gems.
Solidus eCommerce: Checkout Address Step and Shipping / Tax Calculation
In this episode we do a code walk through, of how we got the checkout page progress bar to work with the bootstrap style. We show you the thought process behind the code that we override from the original solidus source.
Creating Rails 5 API only application following JSON:API specification
This article describes how to build API only Rails application using new Rails 5 –api option. Further, I’ll explain how to follow JSON:API specification in your code, how to test your API’s and cover token authentication using some of the new Rails 5 features.
Dr Jekyll's Themes - Free Jekyll Theme Listing / Directory - Summer 2016 Update
Hello, I’ve updated the alternative Jekyll theme site called “Dr. Jekyll’s Themes”. What’s news? New themes, themes, themes: Ink by Ashish Gupta; Mono by Akshay Agarwal; Immaculate by Lau Siaw Young; Mangan by Diki Andriansyah; Indigo Minimalist by Sérgio Kopplin; Photorama by Sunbliss; Slender by Jannik Richter; Gravity, Dev Journal, Safarnama by Hemang Kumar; Decent by Jens Willmer; Thinkspace by Heiswayi Nrird; Urban by Dennis Rohner; Octopod by Stefan Haslinger; Octobook Classics by Gerald Bauer; Octobook Git by Mathieu David and some more. +++ Thanks to all for adding ready-to-fork static site themes. New themes always welcome. Happy site building with Jekyll n friends. Cheers. +++ (Update Jun/21) I’ve added a news channel on twitter for new themes. Follow along @drjekyllthemes
Akita's Manga Downloadr Elixir vs Ruby performance revisited
I’ve written a response to Fabio Akita’s article published 2 weeks ago comparing the performance of his Manga Downloadr implementations in Elixir, Crystal and Ruby. Read more