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.
github_api new release
I just released github_api with support for media types, statistics api and more.
Infinitely large objects in memcached with large_object_store
If you have objects bigger then 1MB try large_object_store!
Y U RUBBY2 NO GO FASTER?
Why ruby 2.0.0 runs slower than 1.9.3? (hint: because I have asked it to be slower). In fact, it’s nearly as fast as 1.9.3 with falcon-gc.
Released chef-handler-librato 1.1.6 gem
I just pushed chef-handler-librato 1.1.6 update with some minor bug fixes.
Futuroscope: Future Ruby objects in your hands... Today!
We’ve just written a blog post about Futuroscope, a new Ruby gem that makes working with parallelism a piece of cake.
Add macros in your Cucumber scenarios
The gem macros4cuke allows you to define macro-steps directly in your Cucumber scenarios without fiddling step definitions. Data arguments can be passed from the macro-steps to their sub-steps. Macro-steps can invoke other macro-steps, sub-steps can be made conditional… More details and examples can be found here.
Bower, an assets package manager
Discover Bower and how to integrate it in your rails app.
Upload and Parse a XML File with Ruby on Rails, Paperclip and Nokogiri
I just released a new tutorial Upload and Parse a XML File with Ruby on Rails, Paperclip and Nokogiri. Please take a look.
Chef.bscott.me
I just launched Chef Daily Newspaper , Content will start showing up shortly.
Ruby Daily goes mobile
Yesterday I’ve rolled out a couple of features for my ruby and web development news project - Ruby Daily. Hope you find them cool and useful. Feel free to submit new articles or subscribe to newsfeed.
Alternative authentication process for your rails application using Omniauth and Devise
This blog will take you through the process of setting up alternative authentication system for your application using service providers like FB, Twitter.
Keeping Multiple Development Machines Synchronized with Homeboy
Most of us developer types have at least two machines we use routinely, and managing that can be a chore. Homeboy is a set of small, plain BASH scripts to synchronize core config files, update system packages, upgrade development libraries, and pull git clones every morning in one shot by running `homeboy’. [release overview] [github] [more inside]
Test your web apps with Selenium
In this screencast we look at the two Selenium tools Selenium IDE and Selenium WebDriver. Selenium is a remote control for your browser. Selenium lets you perform browser actions by creating scripts instead of using your mouse or keyboard. Let’s have a look! [more inside]
Heroku Postgres Row Limit Email Notifications
If you have a Rails side project hosted with Heroku and you’re using the basic or dev database with the fixed row counts, you might want to consider reading this post I wrote about monitoring the total row counts and receiving email notifications when you get close that to nasty 10,000 or 10 mil mark. [more inside]
Multipass Rendering With Mustache
Ever wished you could do multipass rendering with Mustache? Ever wonder why you might want to? Ever wondered how the heck Mustache works? Do I have the blog post for you!
Rails Security Simplified
I just launched Hakiri—a web app that gives you peace of mind about your web projects’ security. Just select versions of technologies that you use in your projects and Hakiri will notify you via email when new vulnerabilities are discovered so you can update quickly. [more inside]
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]