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.
How to replace jQuery with Vue.js in Ruby on Rails apps
Ever wanted to switch from JQuery to Vue.js? Check out how in this article
Our Favorite Ruby on Rails Talks from RailsConf 2018
Didn’t get to go to RailsConf this year? We rounded up six of our favorite talks from the conference for you to check out. [more inside]
APISnapshot now publicly available on GitHub
APISnapshot is built using Elm and Ruby on Rails. Today we’re happy to announce that the code is publicly available on GitHub.
Capybara inconsistent click behavior and flickering tests
Sometimes writing feature specs can be painful. A short story of how Capybara tests were cured. Read the article.
Integrate Webpack to Middleman more easier
Use external pipeline have many steps to integrate webpack with react.js or vue.js, this gem gives you a better choice. https://github.com/elct9620/middleman-webpacked
Memory Efficient Redis Ruby gem
Freshly released gem for nice and easy Redis memory optimization: https://github.com/alekseyl/me-redis [more inside]
A Better Dig Method
Better Dig A better dig method allows unorganized hash data to fetch by indifferent keys with custom configuration and default params.
Choosing Rails Application Templates
You can set up your Rails app the same way every time using a template that meets only your preferences. [more inside]
Itinerary of a software company until the GDPR deadline - part 2
Part 2 in the mini-series following Phusion’s steps to meet the GDPR requirements; the one where we go a little overboard (in a positive way!) mapping and modifying our systems: https://blog.phusion.nl/2018/05/24/itinerary-of-a-software-company-until-the-gdpr-deadline-part-2/
Running Chrome Headless, Selenium and Capybara inside GitLab CI and Docker
Capybara + Selenium + Chrome Headless fail with mysterious errors when run in GitLab CI and Docker. Here’s how we debugged and fixed it.
Feature Tests vs. Integration Tests vs. Unit Tests
Why are there so many different types of tests in Ruby on Rails and how are they different from one another? Read the article
Create Your First Useful Ruby Gem and Contribute To Open Source Software
If you’d like to start building useful software products that sell, so that you can proudly tell your friends, family and colleagues you’re a professional programmer now… [more inside]
Controllers: the Rails way vs the Hanami way
A brief comparison on how to work with controllers with Rails and Hanami https://sipsandbits.com/2018/05/23/rails-controllers-vs-hanami-controllers/
How To Use The Singleton Pattern In Ruby (And Why You Should Avoid It)
Learn about the singleton pattern, what is it & how to use it in Ruby. https://www.rubyguides.com/2018/05/singleton-pattern-in-ruby/
Dynamically setting Rails default_url_options in Heroku review apps
I love Heroku review apps but not when hypermedia URLs point to the parent staging app. Don’t worry I’ll tell you why this happens and how to fix it by dynamically setting Rails default_url_options in Heroku review apps.
How to Write and Promote a Programming Blog Post [Screencast]
In this screencast, I explain how to write, release and promote a programming blog post on various social platforms. Even if you don’t have an audience yet. I present my typical routine and tools I use when submitting a new post. I also explain several SEO aspects related to blogging and show that post can appear at the top of Google Search Results for your choosen keywords right after submitting it. [more inside]
8 Ruby Gems We're Loving in 2018
Our Rails dev team wrote about the gems they’ve used and loved so far in 2018. What helpful gems have you used recently? [more inside]
Use beautiful binary literals in Ruby
It’s Tapas Tuesday, and today I’m freeing up the very first RubyTapas episode! It’s a quick video about avoiding the need to do octal math in your head, and using beautiful binary literals instead.
Itinerary of a software company until the GDPR deadline - part 1
With T minus 3 days until the GDPR deadline, Phusion is putting the last checks in place. This mini-series is meant to illustrate a bootstrapped team’s approach to ‘GDPR compliant’: https://blog.phusion.nl/2018/05/22/itinerary-of-a-software-company-until-the-gdpr-deadline-part-1/
29+ Ruby Gems For Building Command Line Programs
As a professional programmer, you know automation can help you complete repetitive and time consuming tasks quickly, whether you’re a freelance-consultant, have a full-time position or you’re founder who owns a niche website or micro SaaS app. [more inside]
Hosting Static Website on Dokku with Free Cloudflare CDN and SSL
Dokku is dev ops for dummies and a simple way to deploy web applications on a barebones VPS. In this blog post, I will describe how to use it to host a static website, and setup global assets caching with free Cloudflare CDN and SSL certificate. [more inside]
Implementing DSL in Ruby: CSV importer
Step-by-step tutorial. No complicated metaprogramming, just blocks and lambdas.