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.
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]
Stream(SQL) Event Processing with Esper
Hadoop batch-processing is not the panacea to every problem. StreamSQL allows us to easily filter, aggregate, and even merge multiple realtime streams to detect correlations, run custom calculations, and much more - all without extra code! A quick intro to StreamSQL, the Esper engine, and a JRuby example to apply it to a real-time Twitter stream</>.
RuPy 11 Conf (Ruby & Python) - Call for Proposals started
RuPy 11 is a three day conference about Ruby & Python programming languages, with two tracks, a workshop sessions and startup festival. Held in Poland, scheduled for October 14-16, 2011. Great speakers invited: Ezra Zygmuntowicz, David Beazley, Yehuda Katz to name a few. CFP is open. Submit a talk. Follow @RuPy for more updates.
Rails Many-to-Many Primer
I just posted a much requested video on many-to-many associations at TeachMeToCode.com. This is part 1 on a 3 part series on many-to-many associations. If you have a topic you’d like to see a video on, go to Teach Me To Code and click “Request a Topic.”
Introducing sproutcore-rails
After hearing about SproutCore 2 developer preview we wanted to make SproutCore integration to Rails a bit easier. So we built sproutcore-rails. It’s the first version so feedback is appreciated
Ruby Midwest Conference is back! CFP & Early Bird started!
Ruby Midwest 2011 is a two day, single track conference scheduled for Friday and Saturday, November 4-5, 2011 in downtown Kansas City, MO with keynotes from “Uncle Bob” Martin and Andy Hunt. Limited Early Bird registration ($129) open. Want to speak? Submit a talk. Follow @RubyMidwest for more updates.
How HAML Works
In which I investigate the parsing engine in HAML, then build my own mini-haml!