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 3 dictionary for OS X
New version of Rails 3.0.0 beta 3 dictionary is now ready for download. If you’ve been using Rails 2.3 dictionary, you may want to update this one as well as i added few important fixes in there.
define_exception gem version 0.0.3 released
Based on feedback from the release last night the latest version allows you to alternately define the parent class for your exception. The define_exception gem provides a succinct manner in which exceptions can be defined much like read/write attributes in your class using attr_accessor. It also makes it trivial to define a default message so that in most cases the second argument to raise is not necessary.
TMTC 21 - Miles Forrest Interview - Part 2
This is the second part of the interview with Miles Forrest. We talked about learning Rails, micro-brigades, and the Ruby Community.
Rails 2.3.8 released
A gem for defining ruby exceptions
Exceptions in ruby are defined by subclassing off of a standard exception and then using raise to invoke them. Messaging is typically separate from the class definition which isn’t very DRY when invoking raise with a second String argument multiple times. The define_exception gem provides a succinct manner in which exceptions can be defined much like read/write attributes in your class using attr_accessor. It also makes it trivial to define a default message so that in most cases the second argument to raise is not necessary.
Cap Release Notes
If you write down your release notes, here’s a tiny cap task to print them at the end of your deploys.
New Relic
New Relic now has extra visibility inside Lucene Solr servers. Check it out.
homebrew + apple + chef = cider
I just launched cider and would love feedback on how well it works for people. It should not screw with your current dev environment so try it out!
Rails 2.3.7 Released
Hours after releasing Rails 2.3.6, the team has released its successor Rails 2.3.7!
Video: John Nunemaker talks about MongoDB
Webpulp.tv just published the latest episode with John Nunemaker talking about Varnish, MongoDB, and how it has changed his dev cycles a bit.
Combining RDoc and RSpec to create testable documentation
I would love to hear your feedback on the idea of “combining RDoc and RSpec to create testable documentation”. Posted a more detailed explanation at: http://gist.github.com/412283
IPAddress: new IP manipulation library
I’ve released IPAddress 0.5.0, first release to be public available. IPAddress is an IPv4 and IPv6 addresses manipulation library, designed to be easy to use. It is probably the most complete and powerful IP manipulation library available today.
How to model a custom search form in Rails
I just wrote a post about “How to model a custom search form in Rails” on our DevInterface Blog.
Testing Javascript with Cucumber in Javascript
Javascript adapter for Cucumber which uses TheRubyRacer which provides bindings to V8 -> Testing Javascript with Cucumber in Javascript
MongoHub - Awesome MongoDB admin tool for the mac.
Checkout MongoHub a tool for managing MongoDB databases.
Mount Rack apps in Rails 3
How to mount a Rack app in Rails 3 using the mount-method or the anchor-parameter.
Fallback attributes to delegate
Fallback to delegate if somethings fishy. fallback :title, :to => :shop, :if => :title_to_short?
Create printable PDF cards from your Pivotal Tracker stories
If you’re using Pivotal Tracker and need to print your stories for estimating/discussion, you should have a look on a Ruby script I’ve created to lay out a nice PDF version of your story cards, ready to print and cutting up. The PDF is generated with Prawn so you should have no trouble modyfing it to suit your needs.
My first Rails bugmash
My first Rails bugmash, a small article about my experience in participating in the recent bugmash.
DataMapper 1.0.0 RC2 Released!
I just released DataMapper 1.0.0 RC2 to rubygems.com. Please install, test it out and let us know if you run into any issues.
RubyNation 2010 Videos
The videos from RubyNation 2010 will be trickling out over the next few weeks. Jim Weirich’s talk on Solid Ruby is live now.
TinyMCE plugin with filemanager support
We’ve just released tinymce_filemanager - rails plugin / wrapper for tinymce with embedded filemanager plugin.