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.
Get your (minitest) specs on with capybara
Ever wanted to get capybara working with minitest spec on a rails project but didn’t know how to start? Well, here’s a how to with not one but two ways of getting it all to hang together……Rails 3.2, MiniTest Spec and Capybara.
Exchange – a money and exchange library in decimals
If you’re into money, like decimal values and want to say: 1.in(:usd).to(:eur), head over here. Have a moneyful day!
How I find out a memory leak in grape
I shared my story to fix a ruby symbol memory leak in grape gem, it also told you one way to detect the memory leak.
New HTML5 Form Input Helpers in Rails 4
I just wrote up a blog post about the new HTML5 additions to Rails 4
Ruby HTTP Client Showdown
I just did a quick comparison between Excon, Patron, Typhoeus, Typhoeus Hydra mode, Net::HTTP, and Curb. See it here
Towards a Common Ruby definition
Although I’m not directly involved in any Ruby implementation, I’ve been in the community for a better part of a decade and want to see us spend less time on politics and more time on evolving an awesome language. Here’s my two cents on how I think we can attain a Common Ruby definition in a pragmatic way. [more inside]
Los Angeles Ruby Conference 2013
Los Angeles Ruby Conference is coming up! [more inside]
ROA3 | Ruby on Ales 2013 - March 7th & 8th, 2013
I’m happy to announce that the Ruby on Ales crew is putting on our third show. Come visit us in Bend on March 7th and 8th for some great talks, amazing beer and fun wintery activities.
More choices, more concurrency. Introducing JRuby on Heroku
Heroku just launched JRuby into General Availability, read all about it:Run JRuby on Heroku Today.
Setting Local Environment Variables in Rails
A new article from Taylor Mock and the RailsApps Project on Rails Environment Variables shows a bulletproof way to set local environment variables for use in your Rails application without using the Unix shell.
Gem Launch: Service
Service encapsulates an object which executes a bit of code in a loop that can be started or stopped (optionally in a new Thread) and query whether it is running or not.
Faster Rails partial rendering and caching. 78% improvement of test application
Just published a ruby gem to help Rails developers render collections of partials using caching more efficiently. In a nutshell it uses Rails read_multi to fetch cached partials from a cache store like Memcached all at once instead of sequentially. Multi-fetch Fragments. Feedback is greatly appreciated. Please let me know if I can make this better.
Faster assets precompile with turbo-sprockets-rails3
Morning! Crowd Interactive’s weekly blogpost: “Faster assets precompile with turbo-sprockets-rails3” Rails Best Practices!
How to Run Custom Chef Cookbook Recipes During Deploy
Check out how to run custom chef cookbook recipes with deploy. Is this little bit of magic useful to you? If so, then read on!
refactr.it - a community for refactoring code
refactr.it, I had some spare time recently and created a site using ruby on rails to allow interested people to help each other refactor and improve their code. [more inside]
Git Go v0.0.1
Git Go is a small command-line utility distributed as a RubyGem that allows you to easily create/destroy/rename/list all your private-hosted git repositories on your own server. All you need is a small VPS (256MB RAM / 10GB HDD / 1vCPUCore should be sufficient). [more inside]
Better Errors in your Ruby web apps!
I just discovered Better Errors for your Rails or Sinatra apps. It’s amazing, especially when combined with the binding_of_caller gem. You app generates an exception and you immediately get a REPL where the exception happened. No more inserting those ‘debugger’ lines everywhere!
Inspiring Kids Early with Ruby... and Bacon!!
How my 8-year-old daughter and I used Ruby and Gosu to create a video game based on my 8-bit bacon t-shirt.
6 Ways to get More Bang for your Heroku Buck While Making Your Rails Site Super Snappy
Over the years we’ve used a number of techniques to get the most out of our Heroku apps without having to fork out a fortune for lots of extra dynos. I’ve just written up our 6 ways to get more from Heroku which also make your Rails app super snappy for your user.
Jruby Mahout: New Gem for Machine Learning
I just pushed the first public version of Jruby Mahout gem. [more inside]
Using Authority when you don't have a model
Authority provides a sensible, ORM-neutral way to authorize actions on your Rails models. [more inside]
rack-protection 1.3.0
I just released rack-protection 1.3.0. Please upgrade your apps.
Rate limit your Rails app using Doorkeeper and Redis
I just launched the Redis Throttle gem. This is fork of the Rack Throttle middleware that provides logic for rate-limiting incoming HTTP requests to Rack applications using Redis. This gem was designed to experiment rate limit with Rails 3.x and Doorkeeper.