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.
Safe stubbing with Bogus
I’ve just written how to increase confidence of isolated specs with Bogus.
Monitoring Background Jobs in Ruby’s Resque
Let’s look at how to get visibility into an important component of any complex system: the messaging queue. Specifically, let’s look at how to trace a job from Rails using Resque. Read more here.
User Registration From Scratch Using Form Objects in Rails
A different take on User Registration; one that keeps user registration out of the User class, the controller and implements it using a Form Object.
ArrrrCamp pull-request competition
Us pirates don’t like paying for things which is why we love Open Source software. But that doesn’t mean we don’t want to give back! With that in mind we’d like to give away 2 tickets for the next edition of ArrrrCamp in October. All you need to do is submit as many pull requests for open source projects as you want.
Datamappify: Entity with multiple data sources and now with lazy loading!
Compose and manage domain logic and data persistence separately and intelligently, Datamappify is loosely based on the Repository Pattern and Entity Aggregation. [more inside]
Isn't Cloudinary great?
Since discovering Cloudinary I have have been finding handling images less of a chore. It takes out so much of the effort when dynamically resizing and cropping images. I put together a tutorial on how to use it. Uploading many images to Cloudinary with Carrierwave
Yandex::Webmaster gem and some bonus
I just released Yandex::Webmaster. It is an API wrapper for Yandex.Webmaster tools. Now you can easily integrate information from Yandex into your Ruby application. [more inside]
Creating consistent APIs with jsonapi.org
Yehuda Katz and Steve Klabnik recently released a work-in-progress draft of jsonapi.org which documents a particular format for creating consistent JSON API responses. This guide documents how to render resources properly along with associated relationships. In order to make following this guide easier when using rabl templating, I have published a conforming to jsonapi.org wiki page. Feel free to contribute to it as their guide is updated.
Basic authorization from scratch with Rails
Find out how easy it is to roll your own authentication from scratch with Rails. A blog post for anybody that would like to know the basics of what goes behind an authentication system. I hope you find this useful!
Adding Tabs to Your Rails App Just Got a Whole Lot Easier with Tabulous 2
Tabulous 2 is a complete rewrite of the tabulous gem that makes adding tabs to your Rails apps easier than ever.
Mestral – Simple Git hook management
Today I’d like to introduce a new tool to manage Git hooks. It’s called Mestral and is available at GitHub. [more inside]
RuboCop 0.7.0 released!
I’ve just released RuboCop 0.7.0! Some of the highlights include 16 new checks, simplified configuration, the ability to exclude files/folders and the usual ton of bugfixes.
Do you like Ruby and sailing? There's a surprise waiting at EuRuKo 2013!
The last ticket batch for this year’s EuRuKo is live at euruko2013 and it’s on until the upcoming Monday at noon UTC. We are preparing a surprise for willing delegates which involves sailing and the deep blue Aegean sea. We’d love to see you in Athens this summer. Rock on!
Rails Gotcha: Saving STI Records
Description of an obscure problem with Rails STI along with a solution.
Running a Minitest Suite
An article exploring a few different ways to kick off a Minitest suite.
Dead Simple Model Diagrams for Your Rails Project
Need a model diagram for your Rails project? I did and found a really easy way to do it using Rails ERD.
Gem to share your messages(text,images,videos) on social networking sites(facebook,twitter,linkedin)
I just created gem for sharing content on social networking sites socialshare
Sinatra Vs Ruby on Rails
There often seems to be a lot of questions around which Ruby framework to use, Sinatra or Ruby on Rails? They are very, very different frameworks, and have different use cases. More info on the differences between Sinatra and Ruby on Rails.
ContextValidations
An attempt to solve contextual validation problems in Rails
The Taming of the Queue: Measuring the Impact of Request Queueing
A few weeks ago, webserver request queueing came under heightened scrutiny as rapgenius blasted Heroku for not using as much autotune as promised in their “intelligent load balancing”. If you somehow missed the write-up (or response), check it out for its great simulations of load balancing strategies on Heroku. [more inside]
RailsConf 2013 Review
I wrote about what went down in Portland this year: RailsConf 2013 Review
Upgrading ror e-commerce to Rails 4 and Ruby 2
I just upgraded ror_ecommerce to Rails 4 and Ruby 2. I wrote about the upgrade process HERE. This also represents the ror_ecommerce 2.0.0.beta1 tag. 2.0.0 will be released after rails 4 is officially released.
Consuming SOAP WebServices in Ruby
This is my new post: Consuming SOAP WebServices in Ruby.