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.
Guide for adding a staging environment to Rails
I just wrote a guide for adding a staging environment to Rails explain why and how to it set up: how to copy data from your production environment, how to deal with mails, the question to ask for…
Release finite_machine 0.9.2
finite_machine version 0.9.2 brings important fixes to transitions involving :any type state and thread safety.
Rlease activerecord-time-scope 0.1.0
I just released activerecord-time-scope, which provides sets of useful scopes for time-related columns.
How to Use Devise in Rails for Authentication
Devise is considered the best-of-breed authentication solution for Rails apps. In this blog post, we go over how Devise is built on top of Warden, how to use it in a Rails app, and how to write tests for it. [more inside]
Screenshot server
Website screenshot server
`restart ruby app.rb` - minimalist ad hoc ruby code reloading that also works on Windows
I made this tiny gem because I couldn’t find any solution for ad hoc ruby code reloading that would also work on Windows (e.g. shotgun and rerun use fork(), so they’re unix-only). Hope you find it useful and let me know what you think!
Rails Disco - A distributed party for simple event sourcing
Rails Disco tries to get the best bits of event sourcing integrated into a Ruby on Rails tool stack. The adds commands, events and projection and some Rails generators. I think it works very good. I seek for help to maintain this project. I believe in the idea, but lack the time to get this thing production ready. Every feedback and help is appreciated.
Database seeding for geocoded models
A blog post about how we at CookiesHQ used Google’s geocoder to seed our database with journeys for testing geomatching using PostGIS.
Onboarding Junior Developers
I’m the newest Rails Support Engineer to join Ninefold and a big advocate of developer bootcamps. Her talk sounded like it would be perfect for where I am in my career. [more inside]
Passenger standalone with debugger and pry
A short, annotated blog post on how to use Passenger standalone in development with smooth integration of debugger and pry.
Ruby Benchmarking Lessons Learned
Brian Knapp shares some lessons learned from his landmark Ruby web framework benchmarking post. Really great post.
Baruco 2014 Reaction - a complex summary of Barcelona Ruby Conference
We just posted a complex Barcelona Ruby Conference (#Baruco) summary written by Phillip Boksz.
An implementation of Pipes in Ruby
*nix have pipes, Elixir has pipes, Ruby deserves pipes! I just hacked this together yesterday and I’d love to get some feedback:
Using FactoryGirl factories from your JS front-end tests
Blog post announcing Hangar, the Rails plugin we made at Faraday to expose factories to our Protractor tests.
Kontrast - Fast Automated Visual QA for Your Website
Harry’s is open-sourcing Kontrast, an automated testing tool for comparing visual differences between two versions of a website.
Advanced gsub
Today I’m celebrating the two-year anniversary of RubyTapas today, and in honor of that I’ve freed up a short screencast about an advanced usage of String#gsub from the archives.
How I deploy a Rails app using Docker
Want to get started with Docker for hosting your Rails apps? There are a lot of options out there. In this post I describe a start to deploy a Rails app with Docker.
Should my company choose RubyMotion or Swift?
We’ve been writing a few Swift apps at TFG. Here’s a summary of our experience shifting from RubyMotion .
Validating JSON Schemas with an RSpec Matcher
Use RSpec and JSON Schema to create a test-driven process in which changes to the structure of your JSON API drive the implementation of new features.
Can you learn Rails before learning Ruby?
Can you learn Rails before learning Ruby? You can, for a little while. But if you want to learn enough Ruby to master Rails, study Ruby on its own. There are tons of Ruby books out there. I counted four shelves the last time I was in a bookstore. A lot of them are good. But there are a few that are in a class of their own. And they’ll help you through the entire process of picking up Ruby.
Sunny Memories from the Barcelona Ruby Conference 2014.
Dancing drones, Gangam Style, Matz, sun and the nicest-looking presentation ever, in other words: Sunny Memories from the Barcelona Ruby Conference 2014 .
Burek - rails gem for managing translations
Do you find yourself too lazy to go to translation file to create a new translation entry? Are your views full of “I’ll turn this in to a translation call later” literal strings?. Well, end to your woes is a click away. Check out the new version of Burek!
Notes on various ways to create Structs
Here’s a writeup on various ways to create Structs with some suggestions on improvements.
Meaningful exceptions
Writing detailed documentation helps to improve software design. Explaining the intent mitigates inconsistencies and helps other people to understand our initial idea. [more inside]
Other ways to interact with an object
Just cooked up a blog post about interaction with objects using first order functions: Click here to enjoy