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.
Ruby and Shoes Programming: A New Course
Ruby and Shoes Programming: A New Course. The first of its kind - an online crash course by Shoes Ninja - Satoshi Asakawa of Japan. If you know Core Ruby then you can learn Shoes - one of the most popular Ruby GUI.
roleful is a DSL for your classes that h...
roleful is a DSL for your classes that handles roles and permissions. All you have to do is declare your roles, then provide a #role instance method to determine what role(s) an object has. Roleful will then let you know what your object can and can’t do. [more inside]
Extended-Bort
Lakshan from the MyConf RailsRumble team has released an extended version of Bort the base Rails application named Extended-Bort. [more inside]
Nokogiri is released!
Nokogiri is an HTML, XML, SAX, and Reader parser with XPath and CSS selector support. It was written with replacing Hpricot/LibXML in mind. It is faster than Hpricot, and easier to use than LibXML. See the README for examples.
session_expiry plugin - Expire plugins after inactivity
The session_expiry plugin allows you to set a time in which your session is valid, and expires the session after that, with a callback method to potentially set flash messages.
Implementing DSL Blocks
Implementing DSL Blocks is a lengthy but thorough survey of various strategies, referencing some of the recent discussion on instance_eval. The posting also describes a gem called Blockenspiel that helps with DSL block implementations.
MerbCamp videos are posted!
I just noticed that all of the video presentations from MerbCamp have been posted!
Symbian Releases Port of Ruby 1.9 For Its Platform
Symbian, creator of the eponymous mobile platform, has released a port of Ruby 1.9 for.. Symbian.
Braid 0.5 released - vendor your git and svn repositories
Braid is a simple tool to help track git and svn vendor branches in a git repository. Braid 0.5 was released today. This is a major release that brings two main features (no more braid/track branch and better merging support) and lots of usability changes, bugfixes and tweaks.
Integrating Scala into JRuby
Daniel Spiewak laces up not only <a href-“http://www.codecommit.com/blog/ruby/jruby-interop-dsl-in-scala”>a DSL for Scala to call JRuby</a>, but also a DSL for JRuby to run Scala.
50+ Rubyists to Follow on Twitter
The 50+ Rubyists to Follow on Twitter list is not intended to be all-inclusive, but it should give you a great start to following some talented Rubyists.
Merb Day Atlanta Registration is Open!
The Atlanta Ruby Users Group is proud to present Merb Day, a single-track conference geared towards Ruby and Rails developers who’d like to dive into Merb, a hacker’s framework. atlanta.merbday.com [more inside]
attr_serializable for whitelisting to_xml and to_json attributes
attr_serializable is a simple Rails plugin that makes it easy to set a whitelist of attributes for your models to use in their to_xml and to_json methods.
acts_as-fu is a gem that lets you build ...
acts_as-fu is a gem that lets you build ActiveRecord models on the fly for testing, or whatever other reason you may have:
build_model :foos do
string :name
integer :age
end
If you’ve got an easier way to test-drive ActiveRecord extensions, do share!
Little Known Ways to Ruby Mastery by Chris O'Sullivan
The Path to Ruby Mastery Interview Series by Ruby Masters, provides guidance to and answers questions confronting Ruby beginners from across the globe. Today, Chris O’Sullivan reveals his secrets!
ruby-npr: A wrapper for the NPR API
ruby-npr: A wrapper for the NPR (National Public Radio) API: Finished the first few incarnations of this wrapper this weekend. Really excited about news sites opening up their content and letting information be free!
Scaling ActiveRecord with MySQLPlus and ConnectionPool
Scaling ActiveRecord with MySQLPlus and ConnectionPool: A hands on look at the new ConnectionPool interface in Rails 2.2RC1, and the MySQLPlus gem which promises asynchronous processing.
This should_raise an exception
You’re annoyed by Test::Unit’s assert_raise and you use Shoulda? Check out This should_raise an exception.
kasatin
Some interesting things about RoR & internet startups could be found at GuruOnRails blog.
Writing a compiler in Ruby part 12: Adding arrays
I just posted part 12 of my series on writing a compiler in Ruby - this part is about adding basic support for arrays.
GitHub Rebase #1
GitHub Rebase #1, a new weekly column going over what’s new at GitHub, breaking down stats, and more.
What Arc should learn from Ruby
What Arc should learn from Ruby: in this article I discuss what I think Arc can learn from Ruby in order to succeed and gather developers’ interest.
Review of the first two Envycasts
Gregg Pollack and Jason Seifer, of Rails Envy Podcast fame are up to something interesting, yet again. They recently started publishing commercial screencasts. In this post I review them.