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.
[ANN] Free Git & GitHub Course
RubyLearning has just announced the 3rd batch of its Free, Online “Git & GitHub” Course. The course starts 28th March and registrations are open.
console_update: Rails plugin that lets you edit your DB from any editor
This post introduces the plugin or you can just get it at github.
Git[hub] Pull Workflows in Open Source and Comparison to HTTP/Comet/Ajax
cheapRoc, aka Justin Reagor, writes about Git[hub] Pull Workflows in Open Source. For the kids he’s included a nifty lil comparison to Git/Push/Pull through describing HTTP/Comet/Ajax.
Why you should deploy your next app on 1.9
Johan Sørensen has written an article and a rant on why you should deploy your next Rails app on 1.9. Ha also shares some thoughts about release management of Ruby libraries, which just may have you changing your ways.
adva cms 0.1.1
adva cms 0.1.1 is out. It’s running on Rails engines and already fully featured as it’s based on existing software like mephisto, beast and other.
Workflow and Actions
Simple technique for rendering allowed actions within a workflow
Speeding up iterative calculation in Ruby
Defining a Ruby block for binary search like iterative calulations.
Three changes I'd like to see to DataMapper before 1.0
DataMapper is an excellent and extremely promising Ruby ORM, but it could use cleanup in a couple of areas before the 1.0 release.
Dynamic ActiveRecord Optimization with Scrooge
Scrooge is an automated application layer query optimizer, which tracks usage of your attributes and then dynamically rewrites the ActiveRecord queries to only select those columns.
Flash messages for Rack apps
Rack::Flash is Rack middleware that provides a flash hash for your Rack apps. You can stop rolling your own now.
Ruby + RubyCocoa + magic == Ruby-powered iPhone apps?
Sorry, it’s all in Japanese and it’s all a bit voo-doo like to me, but there’s some interesting code and slides amongst it. Takuma Mori has been working on running Ruby apps on the iPhone and this presentation has some interesting slides. It seems quite a few steps beyond Rhodes though is extremely experimental I gather.. Update: Some info in English.
Polymaps Rails Plugin - geocoded data as polygons on a google map
Polymaps is a new Ruby on Rails plugin that will take your geocoded data and draw polygons on a google map with it!
Scaling Rails Screencasts
Check out these free screencasts about improving Rails performance and scalability. Highly recommended.
Write a letter to Jim Weirich to get him to update Rake
Aaron Patterson (of Nokogiri fame) is calling on all Rubyists to send Jim Weirich a letter to both support him and encourage him to release new version of Rake. There’s some sort of deprecation issue that needs to be sorted out it seems.
New release of Ubiquity-RDoc
Usability improvements and new rdoc-unload command. Search fast on Rdocs with this set of commands for Ubiquity Firefox add-on.
Advanced Scaling Rails Videos
Two new Scaling Rails videos were just posted. One on Client-side Caching and another on Advanced HTTP Caching. This is the advanced caching stuff using etags, last_modified, max-age, and reverse proxy caching (i.e. rack::cache, squid, akamai).
Shotgun: A Rackup that restarts apps on every request
Ryan Tomayko has released Shotgun, a “forking implementation of Rackup.” Its primary use is for reloading apps on every request to make life easier in development (particularly if your Rack-based app doesn’t do reloading itself).
Log rotation for your Rails log files
Jesse Andrews has put together some short and sweet instructions for setting up log rotation for your Rails app’s log files when running under Passenger.
"gem server" re-implemented in Sinatra
sinatra-rubygems by Jesse Newland is a re-implementation of RubyGems’ “gem server” functionality in a Sinatra app.
Sample Chapter from "Ruby Best Practices"
A sample chapter from Ruby Best Practices has been released. Please let me know what you think!
Advanced Twitter Queries with the Twitter Gem
Find out who is not following you back or create other advanced queries based on the twitter gem by John Nunemaker.
Rubyology Podcast #74 Now Available!
Roundtable discussion on… The scalability of Ruby and Rails applications, and source control in the Ruby community. [iTunes], [Web Streaming], [Discussion]
Identifiers & Whitespace
Short (2 minute) video presentation on identifiers in Ruby (basic level) and a longer (9 minute) video on the syntax rules of whitespace in Ruby.
New London Rails Conference, July 24-25
Rails Underground ‘09 will be a 2 day, 2 track conference and takes place 24-25th July in London. We are still looking for speakers, but we already have an exciting line-up, including: Yehuda Katz (Engine Yard), Jason Hoffman (CTO, Joyent), Dr Nic Williams, Geoffey Grosenbach (Peepcode, Nuby on Rails) and Maik Schmidt (author of Enterprise Recipes with Ruby and Rails). David Heinemeier Hansson will also be available for a videoconference Q&A session! - Registration is already open, with early bird discounts!