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.
Onfire brings Bubbling Events to your Ruby Objects
Check out this blog post if Ruby’s Observable is not enough and you want generic mechanics for bubbling events in your Ruby objects. The gem’s somehow comparable to JavaScript’s event system but is pure Ruby, lightweight, simple, small and tested.
Figure out %s() and other % shortcuts
I just wrote up all the %() shortcuts I know about — go take a look and hopefully learn one or two you didn’t know about!
An Interview Question That Prints Out Its Own Source Code (In Ruby)
I recently decided to play around with writing a ruby quine (especially since there didn’t seem to be many around). Along with discussing the possible merits of quines as an interview question, here is what I came up with.
Dupe 0.5.1 includes POST, PUT, and DELETE mocking for ActiveResource (ideal for Cucumber testing)
I released Dupe 0.5.1 over the weekend, it includes support for mocking the full life cycle of an ActiveResource object (create, find, update, delete).
Loading rake tasks from a gem in rails 3
A short article that shows how to build a gem with a rake task that will get included into your rails 3 application. http://nathanhumbert.com/2010/02/rails-3-loading-rake-tasks-from-gem.html
Notes from ActiveRecord::Base
I was reading the source code for ActiveRecord::Base and made a few notes of things I found that I didn’t already know. You can read them here.
Ruby's Class.allocate & ActiveRecord::Base.find
I just came across ruby’s Class.allocate method when learning how ActiveRecord returns objects from ActiveRecord::Base.find and I figure I would share it! Read here.
Timing Ruby Code – It Is Easy With Benchmark
I’ve recently been looking at timing bits of Ruby code as they were executing. Here is what I learned http://www.skorks.com/2010/03/timing-ruby-code-it-is-easy-with-benchmark/.
Rails 3: Code coverage with rcov
An easy way to get test coverage reporting in your rails 3 app http://nathanhumbert.com/2010/03/rails-3-code-coverage-with-rcov.html
gem install validates_as_hostname_label
Checks for valid hostname labels (i.e. subdomains) - http://github.com/shuber/validates_as_hostname_label.
having humility in technology or how I did it wrong
I (Matt Aimonetti) posted a blog post addressing the problem of doing it wrong and technologies that suck.
Rit. – The anti-CMS content scheduling system in Rails
Need to support business users updating website content? You need a CMS right? Probably not. Introducing Rit. – The anti-CMS content scheduling system in Rails. Rit. is a standalone web application that allows users to edit multiple editions of website content and designate when that content should show up on the site. Site content is served up to a consuming application as a web service.
Outsource your site-wide search with Binged
An introduction to using Binged, a ruby wrapper for the Bing Api.
Firing up the team at Radiant CMS
In new developments with Radiant CMS, Sean Cribbs is stepping down as the team lead (although still an active member of the core) and, Jim Gay is taking the reins and William Ross has been added to the Core Team.
Ruby Midwest Conference Opens Registration
Get your Ruby Midwest conference Early Bird tickets before May 15 and save $25. That’s $75 for two days of single track goodness! Register HERE and check out the Travel & Venue info for hotel accommodations.
Spree 0.10.0 Released
We’ve just released the newest version of Spree which is an open source e-commerce framework for Ruby on Rails. Highlights include: theming, REST API and Ruby 1.9 support. See the release announcement for more details.
Install any Java library as a JRuby gem
Charles Nutter: “… a prototype Maven server that looks and feels like a RubyGems source. By setting this server as a source (or passing it to the gem command), any Java library in the world is installable as a gem. Let me repeat that: ANY Java library in the world, installable as a gem. This means you can also use Maven artifacts as dependencies in regular Ruby gems, and it additionally means we won’t have to re-release jar files into their own duplicate gems on the standard repositories. It’s very exciting, and we hope to have it ready for JRuby 1.5.” You can get it here: maven_gem at github
state_machine 0.8.1
state_machine 0.8.1, an FSM library, has been released. Highlights from the 0.8 series include: ActiveRecord 2.0 / 3.0 support, DataMapper 0.10 support, better i18n support, improved callback control, and 20 bug fixes.
Fat Free CRM 0.9.10 released, adds more features
Fat Free CRM 0.9.10 is available for download from Github. Check out the release notes to learn more about the latest version.
LipsiADMIN is based on Ext JS 2.2 fram...
LipsiADMIN is based on Ext JS 2.2 framework and all around kicks ASS. I’m not the author but i wanted to expose more people to this as it’s very well documented, has a great getting started screencast and even comes with a DemoApp. A demo video can be found here.
jruby-prof 0.1
I just released jruby-prof 0.1, a ruby-prof style profiler for JRuby. Come test it out and tell me where it breaks.
Kansas City Ruby User Group presentation: Ryan (dot) Smith on Heroku
Ryan Smith presents to the Kansas City Ruby Users Group on Heroku: why it is wonderful for deploying Ruby on Rails applications, how to set up a new application and deploy it to Heroku in minutes, and how to use Heroku add-ons to support search.