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.
[Screencast] Meta Tags
Adding Meta Tags to your website is important for SEO ranking and content display. Learn how to easily add meta tags to your Ruby on Rails application. [more inside]
Hebillas, the thoughbot Suspenders companion
We do our fair share of Rails new in the office. When we discovered Suspenders, we though we did found the holy grail solving all our problems. But Suspenders is also very opinionated. Instead of trying to maintain an active fork of it, we’ve decided to maintain a template on top of it, and it works quite well. Check for more details.
How to receive webhooks in your Ruby on Rails application - Part 1
Webhooks are very simple. A Webhook is an HTTP callback triggered by an external application to your application (or vice versa). For one of our app, we’ve had to integrate a few of them and we wrote a quick tutorial on how to receive them.You can read on our blog
Rails 5 - Whats in it for me?
I did a webinar on new features in Rails 5. Check for more details.
Jekyll-Timeago new release (v0.9.0)
Just pushed a new version of Jekyll-Timeago, a library to compute distance of dates in words (originally built for Jekyll and Liquid based templates). [more inside]
Bootstrap 4 will be in Sass. Here is how to directly integrate it into Rails
Did you know that Bootstrap is switching from Less to Sass? Well that means we will be able to use it directly inside Rails. Read my post for how to do it or head straight into gem documentation because it’s really super easy
Cucumber Characteristics 0.5 released
Just released an update to cucumber_characteristics supporting cucumber 2.1+ and newer ruby versions (1.9+). cucumber_characteristics allows you to fully profile your cucumber test runs enabling you to understand exactly where your test time is going. This is a formatter and should drop into your existing setup transparently generating a html and/or json reports. [more inside]
Thredded: a new Forums Engine
Thredded is a Rails 4.2+ forum/messageboard engine. Its goal is to be as simple and feature-rich as possible. [more inside]
Why I won't leave Ruby for Elixir
My feelings on some aspects of the Object Oriented vs Functional Languages discussion. Explored from the view a Ruby developer working with Elixir.
The Road to Sinatra 2.0
Let’s talk about the current state of our beloved Sinatra library, and our big (ok not so big) plans for the next major release.. TWO POINT OH! [more inside]
Spreadsheet Architect v1.3.0 Released
This version adds support for setting model and project wide defaults. Spreadsheet Architect makes it super easy to turn any ActiveRecord relation or plain ruby object array into a XLSX, ODS, or CSV spreadsheets. Generates columns from model ActiveRecord column_names or from a given array of ruby methods.
CarrierWave, Cloudinary and the path to Image Manipulation Enlightenment
We recently used Cloudinary for a Rails project, and really liked how easy it makes programmatic image manipulation. There are some quirks to using it with with Rails/Carrierwave, so I wrote a blog post summarizing our experiences. Hope you enjoy! [more inside]
Pakyow v0.11 Release Announcement
Pakyow v0.11 is available now on RubyGems. Read the release announcement or watch the release walkthrough. Happy Friday!
The Top 5 Most Popular Jekyll Gem Plugins
Hello, I’ve put together a list of the top five most popular jekyll gem plugins. And the winner is… [more inside]
Why Switch From Single- To Multi-Branch Flow? Read Our Story
After a couple of years in single-branch flow, my company decided to switch to pull request flow. Why? What does it change? What tools do we use? It’s all explained in the blog post by our CTO. Why We Switched From Single Branch Flow To Pull Requests
Let’s Encrypt + Route53 + Ruby = Yay!
A few months ago, Let’s Encrypt rolled out a feature to verify domains over DNS. Their automatic configuration tool doesn’t support all the use cases yet, including my particular scenario: multiple load-balanced EC2 instances behind a single ELB, using Route53 for DNS. I wrote a tool to simplify updating Route53 DNS Records with the challenge, as well as updating the ELB with the resulting certificate. Check out the README and code, or read on for why I wrote it.
Better Security for Ruby Apps
Check out security functionality updates in Hakiri.io! Now, Ruby projects can be scanned for vulnerabilities from both NIST NVD and Ruby Advisory Database. There are also multiple updates to vulnerability pages: aggregated security data from several data sources, Markdown support, vulnerability references, and a few more. You can try it out in your open source projects and get a GitHub page security badge like Jekyll, Paperclip, and hundreds of others.
Awesome Jekyll Plugins - New Jekyll Plugin (Community) Directory / Listing Started
Hello, I’ve started on a new Jekyll plugin directory / listing called Awesome Jekyll Plugins. Still early and rough. ++ The idea is to start with the “official” plugins listed in the plugins doc. For now I keep the same “categories” e.g. generator, converter, filter, etc. but I’ve started to split the plugins in gems, scripts and pasties and to get a sense of how popular (and possibly useful) I’ve started to add github stars (e.g. ★24). ++ Anyways, if anyone wants to help out or if you know any other Jekyll plugin listings / directories, let us know. Questions and comments welcome. Cheers.
Rails 5 officially supports MariaDB
Rails 5 now officially supports MariaDB [more inside]
Docker: Port and Volume Mapping
In this Video we discuss port and volume mapping in docker.
RubyPlus Podcast 3
Checkout the third episode of RubyPlus Podcast 3
Grub - Add comments to your Gemfile with each dependency's description
Check out this simple tool to clarify your Gemfile contents by adding a comment for each gem that describes what it does. Try it out live at https://grub-gemfile.herokuapp.com/ or install the tool yourself https://github.com/ivantsepp/grub . Let me know what you think and file any issues/ideas you have at GitHub
Rails plugin to send Newsletters via Amazon SES
I just published a Rails plugin that allows you to easily build and send Newsletters via Amazon SES (which is very affordable). The name of the gem is aws_ses_newsletters. It uses Sidekiq (because you will usually run the process asynchronously) and Premailer to inline the css. You can find the code here: https://github.com/10Pines/aws_ses_newsletters The readme has detailed instructions to install it and use it. There is also a demo project at: https://github.com/10Pines/aws_ses_newsletters_demo Any feedback will be appreciated!
How to Diagnose Ruby on Rails N + 1 Query Problems
Diagnosing performance problems in a production Ruby on Rails application can be deceptively complex. Development environments that are not subject to typical production web traffic may not make performance issues evident. In those instances, the use of some simple (and mostly free) tools can help diagnose performance issues in production.
Changes to test controllers in Rails 5
In Rails 5, controller tests have undergone some major changes. [more inside]