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.
RuboCop 0.15 is out! It can now auto-correct most whitespace problems in Ruby code!
I just released RuboCop 0.15.0! It can now auto-correct most whitespace problems in Ruby code and features some new cops (like a cyclomatic complexity check) and more configuration options. More than a dozen bugs reported since the last release were fixed as well.
Ruby Version Manager (RVM) is on twitter now
I just created Ruby Version Manager (RVM) twitter account follow it to get daily twitter tips and news for RVM.
Installing Rails is not for beginners
Rails is great. Unfortunately installing Rails sucks.
Lessons from Football: The Command Pattern
Just finished writing a post on the Command design pattern. Hope you find this enjoyable! Thanks!
Factory Girl without Active Record
If you’re writing apps that authenticate with OAuth or talk to web services, here are a few tips and tricks for using Factory Girl to tame your external data.
Writing a Ruby compiler bottom up, part 29
Here is part 29 of my series on writing a Ruby compiler. Almost there in wrapping up the removal of the last vestiges of C. This time it covers putting the (very basic, primitive) start of a Fixnum implementation to use.
Introduction into SitePrism.Vcr
I just finished writing blog post about gem which allow you to use SitePrism and Vcr gems for better testing applications working with external API.
TheComments 2.0 released
TheComments 2.0 released. TheComments allow for comments with threading for Rails 4. There are few reasons why you should to try TheComments in your web application.
ActiveRecord::TypedStore
Just like ActiveRecord::Store but with type definition, default values and more
Animated 4 basic flows of HTTP Caching
These flows shows how clients, server and caching software will behave depending on the status of the resource being requested and its location in the topology. Read the post.
Catching Invalid JSON Parse Errors with Rack Middleware
The middleware in Rails that parses parameters (ActionDispatch::ParamsParser) runs long before your controller is on the scene, and throws exceptions when invalid JSON is encountered. Fortunately, it’s easy to write custom middleware that rescues the errors thrown when JSON can’t be parsed.
Having fun with Enumerator
Enumerator is one of the most often used class in Ruby, but not a very popular one. Lots of people use it without even noticing its presence.
Audit ActiveRecord models in rails 4
Audit activerecord models like a boss, works with rails 4 with Espinita gem and yada yada.
Rails4 app - Issue tracking system
Issue tracking system soon to become open source: actibities.
Open sourced Minegems: private gem hosting
I just open sourced Minegems: a multi-tenancy private gem hosting deployable on Heroku.
Try Alf 0.15.0 online - Relational Algebra at your Fingertips
I just launched www.try-alf.org where you can try and learn (more) about relational algebra through the Alf gem.
upgrade to capistrano3
I just wrote a new blog post upgrade to capistrano3, it was a big change.
How we apply Sandi Metz rules at our company
How we use Sandi Metz rules at Group Buddies. Please give us your comments, suggestions, or feedback.
Meteo - simple gem for querying weather forecast from command line
Take a look a new gem: meteo - it provides command line access to OpenWeatherMap service.
tenancy - A simple multi-tenancy with activerecord through scoping
I just launched tenancy, which is a simple multi-tenancy with activerecord through scoping. Give it a try.
dbbrowser gem - Simple Mountable Database Browser (using ActiveRecord) - mount DbBrowser::Server
Hello, I’ve built a simple database browser (connections, schema, tables, records, etc.) packaged up in gem that you can mount in your Sinatra or Rails web app. Example: mount DbBrowser::Server, :at => '/browse' See a live example running on Planet Vienna.rb. More info. Cheers.
RubyZip 1.1.0 released
I just released RubyZip 1.1.0 with a lot of improvements: [more inside]
Phusion Passenger 4.0.23 released, open sources Meteor framework support
Phusion Passenger 4.0.23 not only fixes a number of bugs, but also open sources support for the Meteor framework. Before, Meteor support was Enterprise-only.
Deploying Rails+Sidekiq with git-deploy
I’ve blogged before about deploying Rails applications. Normally I opt for using capistrano, but it turns out git-deploy is a light-weight, but worthy alternative. Read more at http://ariejan.net/2013/10/31/deploying-with-git-deploy
Ruby Interface to access Stackoverflow Api
I just release a ruby gem ruby-stackoverflow for Stackoverflow API. In this gem i have implemented method to fetch 1. Users data 2. Questions data 3. Badges data 4. Comments data [more inside]