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.
Implementing an ActionView::Resolver in Rails 3
I had trouble finding an example of a Rails 3 view resolver the other day, so I wrote up a post with a sample implementation.
Reduce Paperclip Image sizes and Page Load times!!!
My company noticed the images paperclip created were not optimized. We Optimized the images with a paperclip post-processor and we reduced some of our image sizes by 85% without and visual problems. This has been a huge win for us. Check it out.
Some cool uses of Git-like hashes in Ruby (with Gibbler)
Cryptographic hashes neatly solve a lot of problems. I created Gibbler to make it easy to work with them in Ruby and wrote a bit about how I use it.
Generating SHTML with middleman
I just wrote about Generating SHTML with middleman
Building a Simple AJAX Website with Sinatra & jQuery (6 minutes)
We’ve just released the Building a Simple AJAX Website with Sinatra & jQuery screencast. To mark AJAX’s birthday on 18th March, we’ve put together a screencast to show you how to create your very own AJAX-updating countdown website for the big day. We use Sinatra and jQuery. We show you how to query Sinatra’s request object to disable layouts for XHR requests. Check it out.
OmniAuth 0.2.0 Released
Version 0.2.0 of the popular OmniAuth gem was released today, bringing a bevy of changes and new providers out of beta. For more info see the CHANGELOG.
Custom Captcha Questions
I just released a gem to include custom captcha questions in your Rails application: Gotcha on Github
Tuning Mysql/innodb with Rails
Ever deploy a rails application that seemed slow once it had real data in it? Ever tweak a few things in your my.cnf and it perked things up, but really didn’t know what the correct values should be? My blog entry on 4 Mysql settings you should tune and how to tune them might be just the performance prescription you need.
Previous week I launched a web page, htt...
Previous week I launched a web page, http://www.atalon.cz/rb-om/ruby-object-model/, which describes the Ruby object model, as of Ruby 1.9.
RMU Study Hall #2
Over at Ruby Mendicant University, we’re holding a second series of free mentoring sessions between beginner level Ruby programmers and volunteers from our alumni network. If you could use some help in your Ruby studies and can find some time for a 45 minute meeting with one of our mentors between 3/14 and 3/18, please feel free to sign up for a session.
Chuusha 0.2.0: Erb templates for css and js
I just released Chuusha 0.2.0, which allows you to run JavaScript and CSS templates through ERB. It plays nicely with Rails’s asset caching as well.
An init script for managing delayed_job
If you run delayed_job as a daemon on a server, you’d probably like to have an init script for automatically starting it at bootup time. Let me share with you my init script for accomplishing this – and it’s even RVM-friendly!
Data.js 0.2.0 released
I just released Data.js 0.2.0. It’s data manipulation and persistence for Javascript.
Redis Master/Slave with Ruby
Looking to distribute your Redis load? [more inside]
Try Redwood, a new desktop app written in MacRuby
Redwood is a “Spotlight for your web apps” – it searches Basecamp, GMail, and GDocs from your Mac desktop. In a future release, you will be able to write plugins in Ruby to search more services. Redwood is written in MacRuby 0.9 and Cocoa. This is an early release, and we’d love your feedback! Here’s a direct download link (OSX 10.6+ required).
Show Intent with Better Naming
What I learned from Corey Haines at the Boulder code retreat: Show Intent with Better Naming
Parellel Programming with Dropbox
I had a goofy idea about parallel programming, TDD, and Dropbox: Parallel Programming with Dropbox
File Uploads With S3SwfUpload (Episode 92 from the SD Ruby podcast)
Nathan Colgate Clark gives a general overview of his Amazon S3 upload plugin (past, present, and future) and shares his thoughts on how it managed to stand out on GitHub. Watch episode
Rails MVC VS Sproutcore MVC
Sproutcore and Rails both use the MVC pattern to organize their code bases, so their architecture must be the same right? Well, not quite. My new blog post documents the differences between a server side MVC like Rails and a client side MVC like Sproutcore.
Vim for rails developers a screencast review
I just published a new article of the series vim for rails developers. Check vim for rails developers a screencast review out.
Exception Notification v2.4.0 is out!
I just released the version 2.4.0 of the Exception Notification. Try it out here and report the bugs you find here
Who knew? Rails 3 doesn't have to be slow
Describes how effective use of the REE memory settings with a dash of creativity can take Rails 3 from being half as fast as Rails 2 to being faster than its predecessor. Benchmarks included.
Backup 3.0.0 (RubyGem) - Just released!
Just wanted to let everyone that might be interested know I just finished my 100% rewrite of the Backup gem. [more inside]