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.
Basics of Abstraction
Are you writing code that has crisp and clear boundaries? Why do we need to use abstraction in our code? Read the Basics of Abstraction
LXC and Ansible to build isolated development environments
Slides and code from my talk at Ansible BCN october meetup: [more inside]
Setup a CI server for Rails app
In this video we show you how to setup a continuous integration server using drone CI. Then we move on to show you how to get your rails app setup on the CI server Video
Functional Objects on Rails
Watching an excellent talk “Blending Functional and OO Programming in Ruby” given by Piotr Solnica on Full Stack Fest 2015 made me think. I have tried different ways of organizing my service objects and here is what I came up with. [more inside]
Ruby 2.2.3 Lazy Enumerator basics
Ruby 2.2.3 Lazy Enumerator basics is covered in this video
Ruby 2.2.3 Hash Basics : Part 6
Ruby 2.2.3 hash methods such rehash, reject, replace, select, shift and store is covered in this video
Results of HTTP client library survey
A few weeks back I asked Ruby programmers what was their preferred HTTP client library. The results are in.
How to build a basic JSON API with Rails 5
With the release of Rails 5 almost upon us, I wrote a blog post about the newly merged Rails::API gem into the rails core.
Dr Jekyll and Mr Hyde - Build Static Sites w/ Ruby (Slides n All-in-One Page Version)
Hello, You find (yesterday’s) slide deck for the Vienna.rb talk titled “Dr Jekyll and Mr Hyde - Build Static Sites with Ruby” online (use cursor to browse back and forth etc.); also available in an all-in-one-page (source) version. The topics covered include:
A Path to Services - Part 3 - Synchronous Events
I wrote a new article on our decision to use microservices. Hope you enjoy!
Rails Tip: Get Controller Name Or Action Name Of Previous Page
How to get the controller name or action name of previous page in Rails. http://solidfoundationwebdev.com/blog/posts/get-controller-name-or-action-name-of-previous-page-in-rails
Problems with typical Rails controllers and before actions
One of the most common practices when writing controllers in Rails is using before_actions to keep them DRY. But what happens when the readability drastically deteriorates after making the code DRY to the max? Is it still worth it? Read more at blog.ragnarson.com
How to create a better Rails development environment with Docker Compose
A guide to quickly setting up a dev environment: https://www.madetech.com/blog/creating-a-better-rails-development-environment-with-docker-compose
check_passenger
A gem to monitor Passenger processes with Nagios. https://github.com/aredondo/check_passenger
Quick introduction to object oriented programming
Object oriented programming is the basis of today’s frameworks for web development. Nearly every web project uses this development methodology. If you are new to programming, it is very important to have clear the OOP concepts. http://davidmles.com/blog/intro-object-oriented-programming/
The Rails Way of Gracefully Solving Web Development Caveats
My look on web development and some of the caveats that can occur during the implementation process and how Ruby on Rails solves such problems. [more inside]
Rails mountable engines
Kamil Dziemianowicz, the amazing developer from my team at AmberBit, just posted a blog post about his experiences and practices with working on Rails engines.
Overview of Ruby on Rails
Ruby is a high level programming language from Japan creating a buzz and revolutionizing the tech industry. It was created by Yukihiro Matsumoto better known as Matz in 1995. Read full overview at RailsCarma Blog
Install Ruby using Rbenv
Learn how to install Ruby with Rbenv on Ubuntu. https://www.youtube.com/watch?v=YAzAzU_Y6qo
A preproduction checklist for Rails apps
I wrote up what to check before putting a Rails app into production. Aren’t Brakeman and ongoing pull request reviews enough for security? There’s more to be confident about security.
Easily manage your Rails application mailings with MailyHerald gem
Schedule, send and track various mailing types like user activation emails, onboarding sequences and periodicals. MailyHerald integrates easily, provides both API and a nice Web UI. mailyherald.org
Loops in Ruby - all possible approaches
New to Ruby? Check how loops can boost your productivity and save some time by shortening your code to a few lines. https://prograils.com/posts/loops-in-ruby-all-possible-approaches