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.
Improving University Course "Agile Development with Ruby" Part I
Few years ago I started delivering course Agile Development with Ruby at the Faculty of Mathematics and Informatics of Vilnius University . I delivered and tuned this course for 4 semesters so far, but I think there are still unsolved issues and plenty space for improvements, so I’ll write problems I faced teaching students in this series of posts and I would like get your feedback.
Take a Swing at Ruby Golf
Darran Jones has started a Ruby Golf competition over at Rubysource. Head over and try to make par…the winner of each hole gets a Sitepoint book.
Pakyow 0.7.0
We’re proud to announce Pakyow 0.7.0, available now. This release includes several bug fixes, new features (hooks, pakyow-mailer, and more) as well as significant performance improvements. Detailed release notes can be found here.
snowday just released
I just released snowday, a RSpec formatter to make you feel all warm inside. Like hot chocolate.
RubyLearning.org Seeking Help and Suggestions For New Course
RubyLearning.org is planning a free, online course on topics that hopefully will help those that have some knowledge of Ruby programming to get started with web programming - call it “Intermediate Ruby Programming”. This does not cover Ruby on Rails. Read more
rails_best_practices 1.4.0 released
I just launched rails_best_practices 1.4.0, it adds RemoveUnusedMethodsInControllersCheck, check out the changelogs here.
Different bundler versions in multiple Gemfiles -> matching_bundle
matching_bundle looks into your Gemfile and picks the correct bundler version. (pass any argument as you would pass to bundle, e.g. install, update, …) gem install matching_bundle && cd project && matching_bundle
How to Make Gem Patches with Gem Edit
A blog post on using gem edit to add quick patches to ruby gems.
Tutorial and Example App for Rails with Subdomains
My RailsApps tutorials and starter apps have been well-received (thanks!) and today I completed a new one. You can find the example app for Rails 3.1 Subdomains in the GitHub repo. The Rails 3.1 Subdomains Tutorial is in the GitHib wiki and you can find an application template for a Rails starter app on GitHub as well. The example app shows how to build an app with “Basecamp-style” use of subdomains using Mongoid for a datastore and Devise for authentication. As always, please try it, copy, fork and submit issues so all may benefit.
Nyan Cat RSpec Formatter
I watch a lot of tests run in a given day. So I figured why not make it more fun. So I created Nyan Cat RSpec Formatter gem. (Includes Screencast)
Convert Ruby Regexp to JavaScript RegExp
One line monkey patch. Limited use case but this works for most conditions I could find.
Convert Ruby Regexp to JavaScript RegExp
One line monkey patch. Limited use case but this works for most conditions I could find, I hope this helps someone else.
Using Redis as a temporary cache for data shared by multiple independent processes
I just posted an article about using Redis as a temporary cache for data shared by multiple independent processes.
Dotfiles for insane productivity in git, rails, vim
I released my dotfiles including two character mnemonics for common commands in bash/git and vim files with single letter capital mnemonics for all kinds of code navigation.
Screencasts and tutotorial on creating an OAuth provider and consumer.
I have recently updated my OAuth2 tutorial and created screencasts to go with it. It covers creating a provider with the oauth-plugin gem in rails and creating a consumer with sinatra and the oauth2 gem.
bookshop gem drops docbook for html
I just finished and released a complete rewrite of the bookshop gem. bookshop is a publishing framework for html-to-(e)book toolchain happiness and sustainable productivity. The framework is optimized to help developers quickly ramp-up, allowing them to more rapidly jump in and develop their html-to-(e)book (print-pdf, epub, mobi, etc.) flows, by favoring convention over configuration, setting them up with best practices, standards and tools from the start. Read more
Setting up Ruby & Rails on openSUSE 12.1
I just posted a walkthrough on setting up and configuring openSUSE 12.1 which was just recently released for Ruby/Ruby on Rails development using RVM. Check it out.
Vim for Rails developers: Lazy modern configuration
I just published Lazy modern configuration in my Vim for Rails developer series.
Testing Backbone applications with Jasmine and Sinon
Part 1: Introduction Part 2: Models and Collections Part 3: Routers and Views by Jim Newbery
Cached Resource 2.0.1 Released
Cached Resource 2.0.1 has been released. You can now enable the functionality on a per-class basis. It also fixes a “memory leak” with its logger. Read more
This is very sad.
Ilya Zhitomirskiy, one of Diaspora’s four founders, died over the weekend at just 22 years of age. Read more
Twitter Bootstrap, Less, and Sass: Understanding Your Options for Rails 3.1
Pat Shaughnessy discusses your options for Twitter Bootstrap and Rails 3.1.
Setting up Ubuntu with Teleport
A short introductory blog post on Teleport, a lightweight yet powerful way for preparing Ubuntu machines to deploy ruby apps.
Fourth batch of PuzzleNode problems released
I just released three new puzzles on puzzlenode.com. Check them out if you enjoy Project Euler / IPSC style problems, or if you’re planning to apply to Mendicant University when admissions open a few days from now. We use these puzzles as our entrance exam.