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.
opsworks_ruby – manage Ruby deployments on AWS OpsWorks Chef 12 stack
Half a year go, AWS dropped their out-of-the-box support for Ruby applications. It is still remaining in the Chef 11 stack, but if you wish to use a new Chef 12, you are on your own. That’s where opsworks_ruby kicks in - it allows you to leverage all the goodies of AWS OpsWorks (like applications, layers, connected RDS etc.) just the way Chef 11 stack did, without any extra JSON configuration. This is a much simpler solution, than implementing your own recipes (like application_ruby for example) and keep track of all those JSONs all the time. And besides, it includes many framework, web and app servers out of the box. [more inside]
Bots, Bots, Bots - Botstack Quickstart - Build Your Own Messenger Chatbots w/ Ruby
Hello, David Mann (of Lazy Deejays fame - winner of Vienna’s 1st Bot Hackathon) has put together a (free, open source) botstack that lets you build Facebook messenger chatbots with Ruby (and Rails) in minutes. Ready-to-use Botstack modules include: Reply, Emoji, Web Search and more. Find out more ». Have you built any bots in Ruby? Let us now. Update: New Article by David Mann - Hello World! Botstack - A quick introduction to the botstack framework for rapid chatbot development.
Using Vue.js as an Alternative to Rails Nested Forms
Here is a quick post about using Vue.js to handle multiple models in the same form in a Rails app. This is an alternative to nested forms and accepts_nested_attributes_for:
Minimal decoupled subsystems in your rails app
This post teaches you how you can use existing tools for processing background job as a starting infrastructure for messaging communication between decoupled subsystems in your Rails application [more inside]
How Bundler is broken and what you can do about it
Bundler has a major security vulnerability that affects all stable versions. The vulnerability allows an attacker to inject arbitrary code into your application via any secondary gem source declared in your gemfile, whether or not that source is scoped to specific gems. Learn more from Collective Idea’s blog post.
Do You have any other website like Rubyflow for Other Tech Sections?
Do You have any other website like for Other Tech Sections like, Android, iPhone, Gadgets etc…? [more inside]
Auto-increment counter not persisted on disk with InnoDB
An interesting bug that made me wonder is time-travel real? Auto-increment counter is not persisted on disk with InnoDB
Getting Started with Minitest
Minitest is a beautifully made test suite for writing tests to verify your expectations from your Ruby code base. Here’s how to run tests in Minitest.
Whirly 😀
Whirly is a simple and colorful, yet customizable terminal spinner library for Ruby. It comes with 17 custom spinners and also includes those from the cli-spinners (npm) project.
Battle of Interpreters: MRI vs JRuby vs Rubinius
Do you know what are the main differences between the different Ruby interpreters? Learn here http://www.blackbytes.info/2016/10/mri-vs-jruby-vs-rubinius/
Brief introduction to internationalization in Rails by @Prograils
Why do we need I18n gem and how it works? How to internationalize and localize your Rails app? You can find some useful hints and tips in this blog post.
Ruby Versions Used in Commercial Projects, 2016 Edition
Every year at Semaphore we have fun crunching the numbers to see which versions of Ruby do people use at work. Here are the latest results.
Rails radio buttons & required boolean attributes
This is a post about using rails radio buttons for required boolean attributes.
Various CORS issues related (not only to) Ruby on Rails
http://www.eq8.eu/blogs/32-various-cors-issues-related-not-only-to-ruby-on-rails CORS may be bit tricky (not only) for Ruby on Rails application. In this article we will have a look on some problems and solutions I’ve dealt with them
Building a Rack Web Server in Ruby
Every request that is sent to a Rails or Sinatra application goes through Rack. Rack is an interface for structuring web applications using Ruby. Rack web servers (i.e. Puma, Passenger, etc) handle sockets (links between programs running on a network), the semantics of the HTTP protocol, thread or process management, and of course the Rack interface. This article explores building a simple Rack web server in Ruby from scratch. [more inside]
Sharing models between Rails Apps
I was planning to write 1 article today and another next week, but heck, I had an extra idle hour. [more inside]
The SQL Alternative to Counter Caches
This article goes over an alternative to counter caches I have been experimenting with lately.
Rails API Basics
A brief introduction on Rails API. Learn how to create an API application and setup the routes. This episode is paving the way for more in depth looks into Rails API. https://www.driftingruby.com/episodes/rails-api-basics
Unobtrusive scripting adapter vs Remotipart
In this short instruction, I would like to share how to use AJAX file upload in Ruby on Rails. Many of web applications require an easy and common way to upload different type data. To solve this issue, Rails has nice Unobtrusive scripting adapter.
Beware the ORM: Locking and joins
This post is mostly an investigation of database locking behavior, specifically what happens when you combine locking and joins. It’s also briefly a response to haters of ORMs like Rails.
Simple Authentication for one user in Rails
In this article we will bulid simple session based authentication for one user for Rails from scratch. http://www.eq8.eu/blogs/31-simple-authentication-for-one-user-in-rails
Bridge and torch problem solver
The bridge and torch problem (also known as The Midnight Train and Dangerous crossing) is a logic puzzle that deals with four people, a bridge and a torch. It is one of the category of river crossing puzzles, where a number of objects must move across a river, with some constraints. [more inside]
Adding dynamic content in KMS is now super easy
Just released and published new and the most powerful extension for KMS content management system allowing to create dynamic content (models) on-the-fly. Give it a try -
Examples of rails apps
Hey, we’ve just completed a catalog of web apps built with Ruby on Rails: It already has some good examples of Rails apps but feel free to submit other apps if you think they are a great example of what RoR is capable of.