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 Gemnasium is using docker
Gemnasium explains how they use docker everyday: Gemnasium in Docker wonderland
7 Deadly Sins in Ruby Metaprogramming
My guest post on codeschool blog: 7 Deadly Sins in Ruby Metaprogramming
SOLID Review: Dependency Inversion Principle
The final SOLID principle is known as the Dependency Inversion principle. Arguably the most important of the five principles, the Dependency Inversion principle can be thought of as a culmination of the principles preceding it. Systems that abide by the other SOLID principles tend to follow the Dependency Inversion principle as a result. Read more
Gem of Week #17 - datapak gem - work with tabular data packages (.csv files w/ .json)
Hello, over at the Planet Ruby the Gem of the Week series continues with #17 - datapak - that lets you work with tabular data packages (.csv files w/ datapackage.json) using SQLite (w/ ActiveRecord). Full article. Cheers.
Script Persistence: Writing fail-safe, idempotent Ruby scripts with PStore
PStore is an super-easy persistence layer for building scripts that you can run, and run again without fear of failure or duplicate execution. Read more
aquam an Object-Oriented Finite State Machine for Ruby
aquam helps you to define Finite State Machines with a very simple DSL which also will validate events, states and the transition between them. Read more
How to find out which gem a Rails helper comes from
A quick example of how to find out which gem a Rails helper comes from when the method name is ambiguous, such as icon. Read more
Live — Code Dojo: Game Grid
We’re currently live streaming our company Code Dojo on YouTube:
Bring CommonJS modules to your asset pipeline with browserify-rails
You don’t have to disable asset pipeline in your Rails application in order to use CommonJS module loading in your JavaScripts. Find out how to do so with browserify-rails gem.
Migrating Facebook apps to Open Graph 2.0
Migrating Facebook apps and Facebook connect gem to Open Graph 2.0
RAILS AND HTTP ERROR STATUS CODES
A post which digs into rails codebase to look at how HTTP status code is set for each of the exceptions that are raised.
Quick static pages in Rails with High Voltage
The most important pages you need when you create SaaS apps are static pages. When you work on lots of greenfield projects, you’ll create these pages the same way, every time. There’s nothing wrong with that, but you can build these pages faster with High Voltage.
Scalability of Spree Commerce
In this article, we demonstrate the approach we take to Scaling Spree Commerce and what you should be doing to understand your Ruby systems constraints and the points at which you’re going to need additional capacity.
Where is this method defined?
An article going over the Method object in Ruby. How to find where your method is defined and other meta details about it.
New Open Source Rails ERP
I have created an open source ERP system based on Ruby on Rails you can find it here https://github.com/boriscy/bonsaiERP the software is in spanish right now but the source code is in english. You can check the site and also test drive bonsaiERP
SEO basics for Rails developers
My colleague Paweł posted some tips if you are interested in SEO on Rails.
The Event Store for Rails developers
If you would like to experiment with Event Sourcing in your app check out our Event Store
Why Rails 5 / Turbolinks 3.0 / Action Cable matter, and why @dhh was right all along
I just posted some thoughts that came to my mind after watchint this year’s RailsConf keynote…
SpeakingURL - Generate a slug – transliteration with a lot of options
SpeakingURL - Generate a slug – transliteration with a lot of options is now available for Ruby on Rails on RubyGems Read more
Accessibility - the Necessity Often Forgotten
When it comes to accessibility in web design and development, many app developers don’t give much thought to this issue. Read on to find out what you need to know about accessibility standards and what factors you must consider when planning features for your app.
Pattern to pattern: Template Method & Strategy
Knowledge of design patterns is useful, but things can often get confusing. In this post I compare the template method pattern with the strategy pattern and explain their similarities and key differences. Hope you find it useful! Check it out here.
How do we perform system integration tests
I wrote an article showing how we run integration tests within Shelly Cloud with a short intro to RSpec formatters
Ruby on Rails and Cloudinary - image management for an amazing web-dev framework
Rails towards version 5.0, is probably still the best web development framework around. This article explains how image management in Rails is solved using Cloudinary’s cloud-based solution. Ruby sample code included for image upload directly from the browser, and for embedding dynamically manipulated images with optimized delivery.