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.
Using Ruby Object Type Classes to Safely Build Data
Helping simplify and protect collection creation when grouping data.
Ruby wrapper for the ProZ.com API
ProZ is a Ruby wrapper for the ProZ.com API. The ProZ.com 2.0 API is a REST-like API for interacting with ProZ.com services.
Setting up Ember.js with Rails
This article shows how to setup a Rails app with Ember.js and QUnit testing (both in-browser and terminal runner) in a simple way!
Keep ahead of the curve
Rails land is constantly changing, to be employable you need to keep your skills sharp. Follow these rails blogs to keep ahead of the curve
Domain Driven Design Quickly - Book Review
Review and discussion of applying the concepts in the context of Rails projects:
Splitting a Rails controller
Do the typical Rails controllers really follow the Single Responsibility Principle? [more inside]
New Jekyll Theme of the Month Series @ Planet Jekyll - #1 Poole, #2 Shiori
Hello, I’ve started a new Jekyll Theme of the Month series on Planet Jekyll that presents a new Jekyll theme every month. The first entries include: #2015.2 - Shiori by Elle Kasai and #2015.1 - Poole by Mark Otto. New theme entries welcome. Cheers.
Building business processes in rails applications
If you ask Rails developer about implementing business processes, 9 of 10 will start talking about state_machine and similar gems which is great but it is not a real workflow.
Finding your way around a new Rails project
You’ve got a new Rails app to learn, and not a lot of time to learn it. But after you git clone and open app/models, you’re totally lost. Even though the Rails structure is the same as what you’re used to, it’s impossible to find your way around the code. So what’s the fastest way to learn this new, unfamiliar Rails app?
New Methods in Ruby 2.2
Most of the fanfare around Ruby 2.2 has focused on garbage collection (GC) upgrades. The GC will now clean up symbols and has a new incremental algorithm that reduces the pause time. These changes are very exciting, but there were some new methods added as well. Let’s see what other new toys 2.2 delivered.
TDDing a unit, not a class
One approach to TDD is to write a test per each class. In this blogpost I’m showing an alternative way - we focus on the unit as a whole. This results in a top-down approach and a bit different tests.
Rails: Rescue From All Foreign Key Violations at Once
If you are using foreign keys in your Rails application, it’s easy to come across the situation where your application crashes due to an attempt to destroy a resource which id is a foreign key of another one. Trying to handle these situations on a case-by-case basis is quite painful, but with a very simple trick we can rest assured that it won’t happen. [more inside]
SAP Hana Rails App with SAP Authorization system - short tutorial.
If you have a Rails application running on the SAP Hana platform the issue you may encounter is how to allow users to login with their SAP account. We’ve managed to accomplish it and we would like to share with you a small tutorial about how we did that. Find out more.
Robot, you have one job
An exploration of the Single Responsibility Principle and how tests can reveal code that has too many responsibilities. This week’s post on Design is Refactoring
Deploying Ruby on Rails Apps On VPS
Every web developer has written at least one application and dreamed of sharing it with friends, but not everyone has a DevOps skills. We’d like to introduce you to an easy method for deploying Ruby on Rails apps entirely on your own terms. No need to explore the secrets of DevOps! Deploying Ruby on Rails Apps On VPS
Gutter - Linux-Ruby DashBoard
A beautiful web-based dashboard for monitoring server info Live, on-demand monitoring of RAM, Load, Uptime, Disk Allocation, Users and many more system stats Drop-in install for servers with Apache2/nginx + Ruby Click and drag to re-arrange widgets Support for wide range of linux server flavors
Fixtures in real life, part 1
As promised, here’s my new blog post about using fixtures in a production application. Part one talks about coherent naming and visibility testing. More coming soon, hope you like it!
Opal 0.7.0: require, kwargs, docs, testing, lots of fixes
Opal 0.7.0 has been released, and comes with some fantastic features, read on in the official blog post:
Evolution of Rails from 1.0, 2.0 and 4.0
Evolution of the Rails framework summarized in 3 pictures.
Ansible for Rubyists
Have you ever struggled with server configuration? Are you Ruby developer? You don’t have to be afraid of infrastructure configuration any more! Check Ansible for Rubyists.
Vagrant MultiVM for Ruby Development
Customizable Vagrant MultiVM for apps development using ansible for provisioning.
Full schedule of Tropical Ruby 2015
Tropical Ruby, the beach Ruby conference, just launched a brand new website with its full schedule: it will have 20 sessions, 3 hands-on workshops and 4 activities in the gorgeous Porto de Galinhas beach. Check it out: tropicalrb.com.
Of Apples and... "Apples"?
A little rant on object equality, symmetry, carelessness and the poor little Module#== method in Ruby.
A simple Priority Queue in Redis
Learn to build a priority queue in redis with Reverb.com engineer Kyle Crum
Gem SHUT THE F**K UP to Disable Post-Install Messages
A lot of people (and this certainly doesn’t include me) appear to be sick of httparty’s post-install message of When you HTTParty, you must party hard! so Tim Pope has created Gem SHUT THE F**K UP, a gem you install so that any further gems you install thereafter won’t show any post install messages.