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.
Be a Better Storyteller
One of our guys posted his thoughts on better way to phrase user stories.
GemAWeek Episode 1 - Geocoder
I just posted the first episode of GemAWeek where I do a screencast on one gem every week. Check it out and leave a comment for me http://gemaweek.com/post/6077959641/episode1-geocoder
More concurrency on a single Heroku dyno with the new Celadon Cedar stack
With the introduction of Heroku’s new stack called Celadon Cedar, it is now possible to dramatically improve throughput by adding more concurrency to a single dyno. Check out my article to find out how!
There's a new Radiant 1.0 Release Candidate out
gem install radiant --pre
and try out the RC2. [more inside]
Migrating my blog to Rails 3.1 Beta
I just launched an article about my initial taste of Rails 3.1 upgrading my blog. There were a few gotchas but overall a less difficult operation than I expected.
Using DataMapper and Rails with Legacy Schemas
Piotr Solnica of Code Benders walks through setting up a Rails app that uses DataMapper as the ORM, and how to configure your models to work with a legacy schema.
Rails Admin Interface Generators
I just published a post comparing three Rails admin interface generators (Typus, ActiveAdmin, RailsAdmin).
Using RVM to Install Rails 3.1: Best Practices
Installing Ruby and Rails from scratch can sometimes be problematic, specially for beginners. [more inside]
User-centric Routing in Rails 3
Rails 3 has a few new (and largely unknown) routing tricks up its sleeve. This blog post shows you how to use advanced routing constraints as a clean way to present more meaningful content to your users.
Unpatched is a convenience library, like...
Unpatched is a convenience library, like ActiveSupport or extlib, but without a single monkey-patch. It is also an API experiment.
Establishing release management policies for RubyGems
Last week I promised that I’d follow up with Eric and Ryan about RubyGems release management. I’ve now done that, and am very happy with the results. Check out my meeting notes for details.
MacRuby notes series: code snippets in Xcode 4
If you use TextMate’s “code snippets” feature to insert commonly-used templates of Ruby code, you’ll be pleased to see that Xcode 4 has a similar facility for MacRuby. It comes pre-populated with a variety of Objective-C snippets, but it’s easy to add your own Ruby snippets.
A screencast on How Rails Boots
BigBinary.com published a screencast on How Rails Boots .
Should ruby go the haml route and uses significant whitespaces?
I just wrote a post about whether or not ruby should use significant whitespaces like python, haml and coffeescript.
Ruby Basics - Implementing object comparison in Ruby
Learn how to implement object comparison in Ruby, the operators available and gotchas you might find while doing it.
Setting up CoffeeScript in Rails 3.0.7
A short introduction article for my new blog, covering an issue I recently had with CoffeeScript in Rails 3.0.7 (Node/NPM to be more specific).
Improve your ruby by reading Rails code
If you’d like to improve your ruby chops, it’s hard to do better than reading some of the excellent code in Rails. In a 5-minute screencast, I did just that, taking you through an nifty class in ActiveSupport. Check it out.
Simple configuration for Ruby applications
Very often in our application we need to separate some data from the code - URLs, email addresses, other bits and pieces. And sometimes it makes more sense to implement a sharp and specific solution, tailored directly to your needs - instead of smashing the task with a hammer of some generic gem. How? See some ideas in this blog post - simple configuration for Ruby applications
Speeding Up Rails' Startup Time, Big Time
Xavier Shay has put together a blog showing how he’s tweaked Ruby’s require in Ruby HEAD to be a lot more efficient, with the result of Rails 3.0 app startup times being significantly improved. My own experience testing out this patch resulted in a 36% reduction in app startup time - nice!
I just wrote an article on how to write ...
I just wrote an article on how to write a clustering algorithm in ruby. These algorithms can automatically find patterns in data and form the base of a really cool web app/startup!
Refinery CMS 1.0 Released! (Popular Rails CMS)
We just released Refinery CMS 1.0! It’s a popular Ruby on Rails CMS that supports Rails 3. We have achieved many things over the past 2 years since Refinery was open-sourced, and these are all outlined in the blog post. Also of note, this release renders pages much faster than previous releases, resulting in about a 300% speed boost for sites with lots of pages.
Shout Mouth Blog Engine - V1.7 Released
Just Released - I have just released Version 1.7 of the shout mouth blog engine. Shout mouth is a blog engine written using Ruby, Sinatra and DataMapper. It supports multiple authors, posts, tags, categories, comments and can be administered using any client that supports the metaweblog, movabletype, wordpress or blogger API’s. Checkout the read-me for further information. Any issues you can submit a pull request or contact me via dan at dotnetguy.co.uk
MacRuby notes series: taking the pain out of Core Data
Continuing my “MacRuby notes series” aimed at Rails programmers adopting MacRuby… [more inside]