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.
Video & Slides: Elixir & Phoenix – fast, concurrent and explicit
The video of the talk I gave at Rubyconf Portugal is online along with the slides. It’s a look at Elixir & Phoenix focusing the explicit part of the title. Namely, how do Elixir and Phoenix make my programming life better apart from just raw speed? The talk is aimed at a ruby audience, so likenesses and differences are shown in this overview talk. Hope you enjoy it :)
Thredded v0.9
Thredded, the best Rails forums engine, has just released v0.9.1. This release adds a notifications plugin system (Pushover! Slack!) and many UX improvements. [more inside]
Refinery CMS 3.0.5 Released
Refinery CMS 3.0.5 has just been released by Philip Arndt. You can read the changelog which has GitHub ticket numbers assigned for each entry in case you want to dive deeper. [more inside]
Jekyll in Action - Inside the Travis Foundation Site - foundation.travis-ci.org
Hello, from this week’s Vienna.html (Jekyll User Group) meetup - the talk / slide notes from Laura Gaetano about getting started with building a (static) website with Jekyll using the Travis Foundation Site as an example. Tips on themeing, datafiles and using the magic of Sass and more. See Jekyll in Action - Inside Travis Foundation. Happy publishing w/ Jekyll. PS: For reference - the site: foundation.travis-ci.org and the (open) source: github.com/travis-ci/travis-foundation.
Ruby Facets is back with a Ruby Tapas surprise
After a life-induced hiatus, Ruby Facets is back with exciting Ruby news and a neat surprise for Ruby Tapas aficionados.
How to Write a Port Scanner in Ruby
A great exercise to learn about TCP/IP & Ruby network programming.
HOWTO integrate Google Calendar with Rails
Learn how to integrate Google Calendar into your Rails application using the v3 Google Calendar API, Google’s OAuth 2.0 flow for web applications, and version 0.9 of the google-api-client gem:
Ruby 2.4 introduces liberal_parsing option for parsing bad CSV data
An article on Ruby 2.4’s feature to parse CSV data which have unescaped double quotes:
Writing an API gem: choosing the structure and the tools
First article on writing an API gem for GrooveHQ service. Setting an a project and picking up the tools for this gem. Then writing a minial API client implementation: https://mkdev.me/en/posts/writing-an-api-gem-choosing-the-structure-and-the-tools Final gem: https://github.com/Fodoj/groovehq
How to create a gem for working with an API
Intro to article series about creating an API Gem for GrooveHQ service: [more inside]
How to become a Junior Ruby Developer
One guys journey from “I know almost nothing about web-development” up to “I make money on it” in 4 months. [more inside]
Working with binary files in Ruby
I wrote an article about working with binary files. Examples are in Ruby, but there is also some general knowledge there.
the CFP of Ruby Devroom at FOSDEM is open
The Ruby Devroom at FOSDEM is an interpreter and runtime focused developer room for the Ruby programming language. Its goal is to host technical content focused around the Ruby language and the numerous open source projects and initiatives which implement, extend and instrument the Ruby language. [more inside]
Q&A With Piotr Solnica
Chatting with Piotr Solnica about Ruby, Rails, dry-rb, functional programming, and the Ruby community.
Paper trail Gem
Track all the changes in the models data for the purpose of its editing and versioning with Paper trail Gem
Deciding to Build an Isomorphic Ruby App with Opal
There is so much hoopla about JavaScript today and a lot of commotion also around Isomorphic JavaScript Apps. While I really like the concept of being able to do everything in one language and not have to context switch between languages why does it have to be JavaScript? The language simply does not make as happy as coding in Ruby. Opal gives the Rubyist hope. Here’s a story talking about the decision to go with Opal
Ember with Rails Introduction
Check out this Introduction to Ember with Rails screencast series if you aren’t too keen on learning React or Angular 2. Ember is a frontend framework with the same convention over configuration philosophy that Rails uses which makes it a great frontend companion to Ruby on Rails on the backend.
How and why to analyse Nginx log with Logstash, Elasticsearch and Kibana (Ubuntu 16.0
Introduction to Nginx log analysis with Logstash, Elasticsearch and Kibana. What are benefits and how to setup working environment on Ubuntu 16.04:
Making broken SJR templates easier to debug
Have you ever spent an embarrassingly large amount of time debugging a broken SJR template? Having been there myself, I’ve isolated 3 different types of errors that are most commonly to blame. Knowing which one is the culprit makes debugging and fixing a js.erb template SO much easier.
http://www.carlosramireziii.com/3-reasons-why-your-sjr-template-isnt-working.html
Running rubocop before git commit
Lately I got annoyed by myself for breaking our Ruby style guide and only noticing after a CI run. Turns out git hooks in combination with pronto are awesome:
Duck Typing
Engineering our objects with Duck Typing in mind can save us time and effort, and minimize changes to our existing code. Read about Duck Typing
Another useful extension for KMS
This simple extension allows submitting contact/callback/feedback forms from frontend side and having it under “Messages” section in KMS - https://github.com/webgradus/kms_feedback
Importing data to database in Rails 50 times faster than normal
Have you ever needed to save lots of records with unique attribute to database using ActiveRecord? Have you noticed how time consuming such task is? I would like to show you how to do it quickly.
[Screencast] Charts and Graphs
Learn how to use one of three charting libraries, Chart.js, Highcharts, or Google Charts, using the Chartkick gem to create simple and unobtrusive charts in your application. https://www.driftingruby.com/episodes/charts-and-graphs