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.
newrelic-grape released
I released newrelic-grape gem to add newrelic instrumentation into grape, the micro frameword for creating REST-like APIs. I also wrote a blog post to introduce.
Wiselinks – if Turbolinks is not enough for you.
While the end of days is coming, we in JetRockets decided that we have to share our latest products with you. [more inside]
Ruby email2fax gateway
Cristian just open-sourced Ruby email2fax gateway Please enjoy it and contribute back.
Machine Learning with Ruby, Part One
I just published an article on Machine Learning in Ruby. It uses the JRuby Mahout gem to show how to create a simple recommendation engine.
Moving forward with WebSockets
If you are interested in WebSockets and working with Ruby then this post should be interesting for you. If you are new or just plan to do so then don’t forget to check out new server and client!
Advanced image transformations in the cloud with CarrierWave & Cloudinary
This blog post describes how to easily generate advanced image transformations for your Ruby on Rails applications while using the CarrierWave GEM for uploading images to the cloud and assigning them to your ActiveRecord or Mongoid model. All image transformations and delivery are done in the cloud by Cloudinary.
DataMapper 2 Status and Roadmap
Just wrote a quick blog post about DataMapper 2 status and roadmap.
The Simplest Possible Rails Decorator Implementation That Just Might Work
Interested in decorators/presenters in a Rails app? [more inside]
Request for feedback: Models, Roles, Decorations, and Interactions
I’m in the very early stages of trying to find a reasonable balance between Rails concerns and the DCI paradigm. I plan to work on an implementation to test the ideas myself, but I’d appreciate your feedback on the basic ideas before I do. Direct and blunt criticism, as well as any questions are welcome!
Code With Clarity
My colleague at MojoTech, David Leal, just published an exploration of using software contracts in Ruby. Check out Code with Clarity and weigh in with any comments or suggestions.
Baruco 2013 officially announced: 14 & 15 September 2013.
Checkout our new website for speakers and sponsors information.
Android applications with Ruby
This week’s Crowd Interactive’s blog post: Android applications with Ruby written by Paul Estrada (@paulemtz).
New gem: tries
I am always watching out for chunks of code that I seem to reuse in every new project and the “tries” pattern is definitely one of them. So finally I found some time to wrap it up into a gem and even come up with a nifty tagline: Solidify your code and retry on petty exceptions
King of Nothing, the DCI paradigm is a scam
Linkbait title, I know. But I feel like to avoid more design cargo culting, we must balance the hype of DCI with some solid critical review. Here are some specific suggestions for possibly convincing evidence that DCI can live up to its promises.
Here be Wagons!
Wagons are extensions to your application train running on Rails. Or, simply put, a plugin framework that allows you to extend the behavior of your specific Rails application in various ways. Have a look at this introduction or go directly to the source.
DCI, Concerns and Readable Code
I just published a blog post about DCI, Concerns and Readable Code by Giles Bowkett. It explores some recent discussion about ActiveSupport::Concern vs DCI vs class-based composition in Rails models.
Mocking in RubyMotion: OCMock, motion-stump
Using OCMock in a RubyMotion project works pretty well, but motion-stump provides a compelling alternative.
Fixing multithreading for Rails in development mode
Development mode doesn’t work with multithreading in Rails. It’s especially critical if you use JRuby. So, here is the recipe to fix Rails multithreading in development mode.
Setup multiple servers easily with Chef
Let’s dive deep into the features the Chef gem has to offer in this article about setting up multiple server easily .
Delicious Soap
I just released Savon 2.0. Hope you like it.
Magma Rails 2013: Keynotes & CFP Dates!
We just launched a new edition of Magmazine [more inside]
Chubby Models Are Still Fat With Concerns. DCI Focuses On How Things Work Together
Read about how ActiveSupport::Concern won’t reveal how your system works or why any of those concerns exist where they do. DCI is an approach to help you capture how objects collaborate and not just separate methods into modules.
Deploying New Image Formats on the Web
If we really want to make an impact on web performance, then image formats is the place to do it. There is absolutely no reason why we shouldn’t have dozens of specialized formats, each tailored for a specific case and type of image. But before we get there, we need to iron out some kinks…
Netzke 0.8 is out - revised API, much improved docs, more fun
Netzke - a library for building client-server GUI components with Sencha Ext JS and Ruby - was updated to version 0.8. It brings a major, backward-incompatible update to the API (making it more intuitive and fun to use), more thorough docs, and cleaner code. The project website, a few tutorials, and a couple of satellite apps have been updated, too - so it’s even easier to start writing your own complex backend apps.