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.
Taming Rails Apps with Engines
I just wrote a blog post, Taming Rails Apps with Engines, about using Rails Engines to break down a large Rails project.
Testing Against Multiple Rails Versions
Find out how to test your libraries against multiple versions of Rails so your gems will be ready when Rails 4 comes out.
Webhooks, upload notifications and background image processing
This blog post details how you can use Cloudinary to perform asynchronous background image processing in the cloud and receive web notifications when uploading and image manipulation are completed. Sample code in Ruby is included.
Introducing Searchlight, the lightweight search gem
Searchlight is a lightweight gem for building searches in your app. Searchlight follows the same philosophy as Authority: low-magic, very little DSL. Mostly you’ll write plain Ruby methods for your logic; Searchlight just helps you tie it together. Read more
Rails authentication using has_secure_password
There are many options when it comes to building authentication into you rails app. A popular option is to use devise, but for more simple projects, Rails inbuilt has_secure_password feature is a valid option. I blogged about it.
equatable Ruby Objects Comparison
A small nifty gem equatable to help value objects express their equality.
github_api new release
I just released github_api with support for media types, statistics api and more.
Building a Tested, Documented and Versioned JSON API Using Rails 4
Building a Tested, Documented and Versioned JSON API Using Rails 4
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] Read more
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! Read more
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. Read more
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. Read more
Safe stubbing with Bogus
I’ve just written how to increase confidence of isolated specs with Bogus.