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.
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
Interesting Rails 4.2 changes
We’ve scoured through the change notes to bring you some of the more interesting tidbits that are changing in Rails 4.2.
Neo4j and Rails: How to declare relationships and write query in Neo4j
In previous part, we’ve set up an application with Neo4j and Rails and deployed it to Heroku. From here, we’re going to see the ways to declare relationships and write query in Neo4j.
TTY gem release v0.1.0
I’ve released tty gem that aids in developing beautiful command line clients. The library has been in development for a while and has ambitions goals for the future. Please check it out and let me know your thoughts. Finally please take a look at this lovingly crafted project page. Thanks!
Green Ruby News #85
Posted this week Green Ruby News 85 with a bunch of fresh links.
Authentication Methods in Rails
You probably know how to add authentication to a Rails app with a framework like Devise or OmniAuth, but don’t let your understanding stops there. In our recent blog post, we talked about several ways to add authentication in a Rails app, and talk about their benefits and drawbacks. [more inside]
ActiveRecord Eager Loading with Query Objects and Decorators
How can you plug complex, multi-model SQL queries into ActiveRecord models so that you can use them in your views? ActiveRecord Eager Loading with Query Objects and Decorators.
Working With Complex SQL Statements in Rails and ActiveRecord
Use fancy Postgres features like Common Table Expressions to calculate a duration in business hours in any time zone. Blogged here.
Store Schema v0.0.1
I’ve just released Store Schema. Enhances ActiveRecord::Base.store_accessor with data conversion capabilities.
Parelation v0.0.1
I’ve just released Parelation. It translates HTTP parameters to ActiveRecord queries.
Splitting monolithic Rails applications
I just wrote about splitting up the large Rails applications.
Splitting monolithic Rails applications
I just published a blog post about my take on splitting up Rails applications.