For web developers, there are so many cool tools right now it’s not even funny. Here are just a few.
Continue reading
Category Archives: rails
Rails @flash deprecation mis-warning
Took me a while to figure this one out. Rails 1.2.3 has a bug in which a deprecation is misrepresented. It happens when you display the flash in a partial called ‘flash’.
Continue reading
A cool new app
At this very moment(*) I am building a cool new online app! The domain name is called l8r.nu which gives you some insight as to what it is.
Continue reading
Postfix as smarthost
So I am developing a new application and it’s time to send some emails from my development machine. What’s the best way to handle this?
Continue reading
Ruby's lousy garbage collection
The rumours are true. Screw it they’re not rumours any more. It’s a cold hard fact: Ruby’s garbage collection doesn’t really work all that well.
Continue reading
How to use subversion with Rails
Turns out the wiki has an excellent tutorial. Who’d have thought?
I only refuse to rename database.yml to database.example. Come on, it’s all designed around one file for different environments. And is it really that hard to use one mysql login in all your dev environments?
Caching in rails
When thou wanteth to know everything about caching in Rails, this post is all you need. And hilarious to boot.
Nested resources for pros?
I need a little help from the Rails community.
Nested resources are a blessing. They give you so much for so little–understandable URLs, minimal configuration, logical routes. All in all it’s a blessing.
But it can be too restrictive.
RMagick is teh evil
Believe the hype. RMagick is an evil, memory leaking package. Do not use it. I always wondered why my Mongrels were sluggish; and why they often seemed to hang.
Of course I always knew I shouldn’t have used RMagick. But it’s just too darn handy. And it could not be that bad, right? Right?
Well, it can. It really can. RMagick eats memory like crazy and does not let go. Just shifting that stuff out is like night and day. Happy Mongrels, happy proxies, a happy front end, a happy admin and most importantly happy users.
If your Ruby/Rails app is acting slow: get rid of RMagick. Really.
Use layouts in ActionMailer
Oh. my. god.
This plugin is the mostest brilliantests I have discovered this entire week. Maybe even month! It allows you to render outgoing emails in a layout!