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.
passing job parameters to email triggered jenkins jobs
Just briefed about how did we tell Jenkins to run a job using any device having email clients - here
Ruby 2.0 Reaches Feature Freeze: What Will Change?
Yes, you read right: Ruby 2.0 is in feature freeze! This doesn’t mean it will be released in the next month. But it introduces us the most important changes that will come with version 2.0. Want more details? Read on!
Cequel 0.5.0 - query builder and object-row mapper for Cassandra
We’ve just release version 0.5 of Cequel, a query builder and object-row mapper for Cassandra using CQL. Version 0.5 introduces support for counter columns at both the query-builder and model layer; bulk loading of dictionaries; and support for connection pooling in multi-threaded environments.
Fast hashing with CityHash
I just wrote a blog about fast hashing with CityHash - a family of non-cryptographic hash functions, designed for fast hashing of strings.
Building Real-Time Web Applications with Server-Sent Events
We’re supposedly living in the bright, shiny future of the real-time web but often we’re still just polling. Let’s look at implementing a real-time channel between clients and servers using Server-Sent Events.
sport.db - Free Open Sports DB Adds Plain Text Fixtures & More
Hello, I’ve added a plain text fixture reader for easy data import to the sportdb gem. For samples, see the English Premier League or the Deutsche Bundesliga fixtures. Cheers. [more inside]
IProcess v3.1.0 is out
IProcess provides a number of abstractions on top of spawning subprocesses and interprocess communication. It has a simple and easy to use API that supports synchronous and asynchronous method calls plus one or two other useful features that become obvious in the README examples. Try it out with: ‘$ gem install iprocess’
How to Create Your Own Private Gem Server With Geminabox
My first post in a new blog is about creating a private gem server using geminabox using the great service of Dreamhost. [more inside]
Using MongoDB to store and retrieve CSV files content in Ruby
Post about loading dynamic CSV/XML data to MongoDB using Ruby and Mongoid gem. Check it out!.
Ruby backend for Impact.js
I’ve released gem called impact which provides a backend for running local Impact.js game servers. [more inside]
rails-footnotes 3.7.9 has been released
Just RailsFootnotes 3.7.9 has been released
When Should I Use Protected Method Visibility In Ruby?
The semantics of protected method visibility hardly ever seem applicable. Why does this language feature exist and how is it used by open source projects?
Understanding Rails 4 Strong Parameters Security
Did some leg work on the logic and execution of a big change coming down the pipe in Rails 4 (strong_parameters). I’ve got an example in Rails 3 and the differences you should expect in Rails 4. Here’s my Blog Post on the subject with healthy doses of how and why.
Bring the power of StarDict in your Rails App
It is Dickens gem just released out there. [more inside]
Getting Started with MVC
I wrote a beginner oriented post on Getting started with MVC . Hopefully, this should give the reader a good understanding of how Model-View-Controller architecture works in Rails. Share your thoughts and comments. :) Read on…
Heroku Database Followers
Heroku just announced their GA for database followers on their production tier databases. They take the pain out of making a databases warm database copy, and there are a ton of things you can do with them read more…
Add content management to a Rails app
We just made a screencapture video about how to add Feed.Us content management application to a Rails app in about 10 minutes… I would love some feedback if this video looks ok and makes sense. Thank you!
Rails Subscription Site with Stripe: Tutorial and Example Application
Just added to the RailsApps GitHub repo: an example app for a Rails Subscription (or SaaS) Site with Stripe Recurring Billing. it comes with a detailed Rails Tutorial for a Membership, Subscription, or SaaS Site. Like the other example apps in the RailsApps repo, this one uses the Rails Composer tool to generate a starter app, with options for Haml, creating a GitHub repo, and more.
Gem for Yandex.Metrika
I have just published Gem to work with Yandex.Metrika API. Yandex.Metrika is a web-analytics tool from Yandex (similar to Google Analytics). With Metrika gem you can authorize with OAuth protocol, work with counters, goals, filters, operations and grants. And of course you can fetch every statistics that is available for your site. [more inside]
Absolutely dead simple login system for Rails with Facebook using omniauth-facebook
I was surprised at how minimal the code actually is. Here are the steps: [more inside]
A Simple Rails Boot Time Improvement
A great article by Pan Thomakos on speeding up Rails boot time by using require: false in your Gemfile.
Screencast: Ruby's Socket API From the Outside In
In this screencast I show a really high level wrapper that Ruby provides for making TCP servers. I take 3 lines of high level code and break them down into 25 lines of lower level code. The pretty 3-liner won’t work in all cases, so I walk you through the layers of abstractions until we go as low as we can (in Ruby).
Phusion Passenger 4.0 beta 1 is here
Multiple Ruby versions, evented I/O, real-time response buffering, Python WSGI support and much more.
Check for empty fields in your database
If you work on a project that is quite old and you haven’t looked in database schema yet it is time to clean up the garbage! See all empty columns with this simple ruby script.