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.
easy_swf_upload
Easy swf upload - rails plugin for easy embedding swf upload into your project.
Sharing CSS between Rails and PHP
Ever need to add a Rails app to a well established site that was already running some other system? We did, so we split the shared CSS/images into a separate module… see Sharing CSS between Rails and PHP.
Phusion Passenger 2.1.1 beta is out
With many improvements.
[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.
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. http://projects.talleye.com/ubiquity-rdoc/
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!