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.
Paypal Recurring Payments
I just created a post to show how to integrate Paypal recurring payments inside a Rails app http://rubyitalianstyle.it/post/37217199474/paypal-recurring-payments
Garlic.js in love with Rails Asset Pipeline
I just released garlicjs-rails gem. [more inside]
Essence of MVC
Clear, illustrated post on the essence of the Model-View-Controller pattern, its structures, its roles and how to maximize its amazing benefits. The Essence of MVC
Polyglot Programmer
This week’s tech post in Crowd Interactive’s Blog: Polyglot Programmer written by Mario Chávez (@mario_chavez).
Linking Against libarclite in Ruby Motion
libarclite provides a shim implementation of [NSArray objectAtIndexedSubscript:]. Forcing that library to be included in a RubyMotion projet is a bit tricky. Here’s what I did.
Rails Assistant - Rails Development Tool
Rails Assistant is a development tool for Ruby on Rails, it helps automate and improve your productivity. Drag in a Rails project and we’ll run it, tail your log, run your resque queue and bundle your Gemfile. And we’re just getting started, read a little about it here, or try the beta.
Versioning your gems is a pain
Why are you manually editing your version.rb files? Bump is here to do that for you.
Strong Parameters - Rails 4 Countdown
Today’s post in the Rails 4 countdown series is about Strong Parameters. Check it out!
A quick flight over the MRI codebase (in 30 YouTube minutes)
Pat Shaughnessy (author of Ruby Under a Microscope) and I recently sat down and took a tour of the MRI Ruby codebase. It’s suited to people who’ve never looked under the hood before, not the C extension and implementation junkies - sorry! ;-) If the MRI codebase intimidates or confuses you, you’ll pick up a few things here about how classes and methods are defined and what goes where. So go check it out.
Use New Relic like a Pro
New Relic has become an industry standard for web applications performance measurement in Rails community. Simply adding and configuring newrelic_rpm gem for your Rails application gives you a great overview of its performance with an adequate level of details. There are still a few improvements you can do to make use of some cool and extremely useful features of New Relic monitoring. Continue...
Clickable stacktraces for RSpec and MacVim
The title pretty much says it all. Give it a try!
Preventing JRuby Concurrency Errors with Hamster
How using Hamster’s efficient, immutable, thread-safe collections can prevent ConcurrencyError exceptions in JRuby.
Rails 4 Countdown to 2013
For the month of December, Rida Al Barazi and I will be writing a series of 31 Rails 4 related articles in anticipation of the eventual release. Today we discussed the extraction of page and action caching from the framework.
zero 0.1.0 released - a toolkit for building web services
I just released zero in version 0.1.0. It provides small modules to make development of web services easier, like a renderer and router with some nice and help features.
XPool: A UNIX(X) Process Pool.
I just launched XPool , a lightweight & fast UNIX process pool.
Simple browser detection API on the client side
I published a simple to use javascript/coffeescript API for browser detection. Any feedback (especially on code quality and standards) is highly appreciated.
High Availability Best Practices
Check out our tips for keeping your app up and running at all times with High Availability Best Practices.
Web Performance Anomaly Detection with Google Analytics
If you are using Google Analytics, then you have a powerful anomaly detection engine at your disposal… and it can be easily configured to help you monitor the performance of your site: server response times, DNS, page loading times, and more.
Producing AMQP messages from Ruby On Rails applications
Blog post outlining how we went about producing AMQP messages to RabbitMQ in our Rails apps.
A Detailed Look at a Small DCI Refactoring in Ruby
In this post I go over a small refactoring to clean up some code in Whoops by implementing the DCI pattern. I’ll cover the actual code changes and include my usual hand-wringing about what could be done better.
The 12 Gems of Christmas
I’m blogging about a new or “under-appreciated” rubygem every day for the next 12 days. Each day you will learn about a gem and how it can help you as a Ruby developer. Read all about The 12 Gems of Christmas.
Making Call Indexing Faster in Brakeman
I wrote up a small blog post about using perftools.rb to improve performance where I didn’t think there was room for improvement.
Contextuality - context global variables
I’ve had a problem. I’ve found a solution. I’ve wrote a solution. I’ve used it. [more inside]
Referencing local gems in your Gemfile
If you need to reference local gems in your Gemfile, but don’t want to annoy your coworkers by hardcoding a path in your home directory, here’s a quick solution.
Ruby Tidbit: Include vs Extend with Module Class Variables
I just put together a quick article about an interesting difference between include vs extend of modules when it comes to class variables. Interesting, if not necessarily practically applicable. :)