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.
Rails HTML5 drag & drop multi-file upload
I wrote a blog post on how to combine rack middleware and a popular javascript library to easily handle drag & drop multi-file uploads in a Rails app
Accessing ActiveRecord and ActiveModel Callback Chains in Rails 3
Blog Post: Accessing ActiveRecord and ActiveModel Callback Chains in Rails 3.
Slop version 1.3.0
I just released version 1.3.0 of Slop. Slop is an option parser with an easy to use API and focuses on simplicity. This version adds support for parsing multiple syntaxes from the command line. https://gist.github.com/890309
A two-minute Ruby flavoured survey ...
I’m currently working on a new Ruby-orientated service and would really appreciate input from the community and fellow Ruby developers. Therefore could I ask that you take a couple of minutes to complete this survey
Using New Relic to instrument a Rack app
Got a Rack app you want to get some performance metrics for? Here’s a post on setting up detailed New Relic instrumentation - including Developer Mode - for your Rack app.
Avoid Dependency Whack-a-mole with Bundler
Avoid Dependency Whack-a-mole with Bundler [more inside]
Using Backup with Rails
The backup gem really rocks. I’ve written a blog post about using it with Rails in a modular fashion.
Ruby Syntax Highlighting Within The Console With Wirble And The RVM
I just posted Ruby Syntax Highlighting Within The Console With Wirble And The RVM
A voting extension from scratch for Rails 3 (Part 2)
Just released part 2 of the blog series: A voting extension from scratch for Rails 3 (Part 2 – Testing environment). It’s about setting up the RSpec testing environment, the spec_helper.rb and .gitignore.
MacRuby Moving to GitHub
Till now, MacRuby has been based on SVN so contributing hasn’t been as easy as it might be. It’s good news, then, that Laurent Sansonetti has today announced that MacRuby is moving to GitHub. The MacRuby codebase will be located on GitHub but ticketing features, etc, will remain as-is.
Using MiniTest::Spec With Rails
A simple working solution for using MiniTest::Spec With Rails by tricking ActiveSupport::TestCase to subclass it. I also discuss using the Rails.backtrace_cleaner and MiniShoulda with Rails too.
ClassyEnum: Give Your Enums Some Class
ClassyEnum is a class based enumerator gem for Rails.
A Rails Testing Charity Workshop (The Day Before RailsConf 2011)
Jeff Casimir has announced that he’s running a Rails testing workshop for charity the day before RailsConf 2011 kicks off (so on May 15, 2011). Your instructors will be Jeff Casimir, Nick Gauthier, Matt Yoho, Marc Peabody and you’ll learn all about RSpec, Test::Unit, Capybara, Cucumber and more. If you want to be fully “test fluent” before the conference starts, it sounds like a good session.
_why's Illustrated Foreword
I’ve posted images of the foreword that why the lucky stiff produced for Beginning Ruby. A lot of people haven’t seen them and they’re another delightful part of the _why oeuvre.
Interview with Baq Haidri
Podcast interview with Baq Haidri of LinkedIn about how she was introduced to Ruby, how LinkedIn leverages JRuby, and why she loves programming.
Wriggle: A simple directory crawler DSL.
Wriggle is a gem that makes it easy to find directories by name or files by name or extension.
Interview with Caike Souza from EnvyLabs
José Costa from WyeWorks has interviewed Caike Souza from EnvyLabs, enjoy it.
htty, the HTTP TTY
htty is a console application for interacting with web servers. It’s a fun way to explore web APIs and to learn the ins and outs of HTTP. Install it by typing gem install htty and keep up at #htty and @get_htty.
Why Rubyists should try Elixir
José Valim explains why Ruby developers should try Elixir, a small language which adds a bit of Ruby syntax and Object Orientation to Erlang VM.
MacRuby example app for StatusMenu app
This is an example for an app in the status menu complete with an icon and custom view inside the menu. Clone the git repository (it’s for xcode 4).
Compass, SASS, and 960 Grid
I just released a video detailing how to get set up with Compass, SASS, and the 960 grid system. It also goes into some of the workings of SASS. SASS is a super handy way of writing stylesheets.
Apotomo 1.1.1
We’ve just released apotomo 1.1.1, about some of the changes..you can now manipulate your apotomo widgets with simpler event bubling More examples and exercises are comming soon :)
A further look into Code highlighting
This time I use Coderay as the code highlighter, I don’t go into much detail on that itself but delve into monkey patching and highline and throw in a heredoc also. [more inside]
rails_best_practices 0.7.4 released
rails_best_practices 0.7.4 released, it brings SchemaPrepare, which makes reviews more accurate, see more here.
my experience to upgrade mongoid
I have written a serial of posts to introduce my experience how to upgrade mongoid from 2.0.0.beta.19 to 2.0.0.rc.7, check them out here.