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.
Simple Algebraic Data Types for Ruby
Here’s a simple approximation of algebraic data types in Ruby using Ruby’s struct class and the case equality operator.
Attrio 0.5 released
By the end of last week we released Attrio-0.5.0. [more inside]
Chat Example App Using Server-Sent Events
Rails 4 can stream data to the browser with ActionController::Live using server-sent events (SSEs). Mason was curious how server sent events worked so he decided to use them to implement a simple chat application. Tiny-chat is a chat app he built using Goliath, Redis Pub/Sub and of course server-sent events. [more inside]
Setup Jenkins for Rails project with Cucumber features on Ubuntu Machine
This is a short guide on how to setup Jenkins(Hudson) for Rails project with cucumber features. The steps are described for Ubuntu machine. First of all - what is Jenkins? Read more.
How to Run a Tech Conference on a Budget: Lessons from BohConf
SmartLogic brought BohConf to Baltimore for its first year as a standalone conference, and we learned a lot. The event was successful–it sold out, and the entire hard cost budget was only a little more than a sponsorship package for many regional conferences. Check out Yair’s wrap up to learn from his experience–and mistakes–organizing the conference.
Managing nil in JSON and Hashes
While developing our new code review tool, Pullreview, we interact a lot with external services (like GitHub), whose APIs mostly return JSONs. While nice, this lead us to some attempts at managing nil values at different levels, in this article</b> we discuss how to manage this.
Steering Behaviors for Ruby game programming now on Github, Rubygems
I just released my Steering Behaviors package to Github, and an accompanying Gem to Rubygems. Steering Behaviors are utilized to ‘drive’ autonomous game agents in a natural manner, and include such behaviors as predictive pursuit, fleeing, arrival, and wandering. Embellishments and expansions are planned, but this is working software you can use to drive your own game’s characters. (I’m using it in my own game programming.) The Github repo includes working graphical examples. Pull requests are enthusiastically encouraged.
Codeship launches BitBucket Integration
The Codeship now supports Continuous Integration and Deployment for BitBucket repositories! Learn how easy it is to get started. [more inside]
Scaling Heavy Web Requests with Sidekiq and Pusher
Describes how we Use Sidekiq and Pusher for heavy data crunching.
Postgresql order by field
I am having 3 records and order by 2,1,3 order using postgresql,i.e implementing field function of mysql in postgresql.
Array#extract_if
A handy Array method that essentially finds and removes an item from an array in one go - returning that item. Surprisingly no core methods (delete drop etc) does this, nor does activesupport provide it.
Accepting Recurring Payments with Recurly.js (in your Rails app) - Part 1
I’m starting a new series of articles detailing how to take recurring payments with Recurly.js (with Ruby + CoffeeScript). In this first episode, I explain why I picked Recurly and I give a technical overview of the subscription creation process. Feedback most welcome!
Under 60 days until NickelCityRuby!
15 speakers, 2 days, $99 for a ticket, and $99/night at our preferred hotel. You can’t beat this in any other city than Buffalo. Register now!
La Conf Paris - videos available!
Check out some great videos from La Conf in Paris this spring with these great speakers : [more inside]
Practicing Ruby's public archives
Even though Practicing Ruby is a paid service, a good portion of its content has been released under a free documentation license. You can find the archives for the first four volumes (over 60 articles) below: [more inside]
Flynn - an open source PaaS built on Docker (seeking funding from community)
Flynn is an open source PaaS built on Docker. A PaaS is like Heroku, but an open source one allows you to run it anywhere, even on your cheap VPS, which not only greatly reduces costs but also avoids vendor lock-in. It’ll even support Heroku buildpacks so that you can run Ruby, or whatever Heroku already supports. Flynn is in an early stage of development and its authors are seeking funding so that they can concentrate on the project full time. [more inside]
Testing Code in a Rails Initializer
Configuration code in a Rails app starts simple but often times, for a minimally complex app, outgrows its humble beginnings. What once didn’t need tests, now demands them. Testing Code in a Rails Initializer demonstrates one approach and example to getting this code under test.
Being a maker is in my DNA
I wrote some thoughts on my life journey of being a (rails) maker and how it progressed. Not very technical, but here it is: Being a maker is in my DNA.
How to set up Cucumber for your Ruby and Rails projects
Watch this screencast to learn the best way how to set up Cucumber for your Ruby and Rails projects. [more inside]
zombees - Distributed load testing using your cloud provider
Need to simulate heavy load on your app? Use zombees to spin up cloud VMs that will load up your site with multiple concurrent connections.
RuPy 13 Conf, Oct 11-13th, 2nd batch of tickets, Fri 3pm CET
The sale of early bird tickets (2nd and last batch) for RuPy 13 starts on Friday July 26 at 3pm CET. There will be only 50 tickets in this batch so buy yours before they are all gone!
Datamappify v0.60.0 released!
Hey guys, I have just released Datamappify v0.60.0 with some revised APIs. [more inside]
Another Jobs board written in ruby on rails
I just launched IntensityJobs. A jobs listing site, we say all jobs on one stop.