We’ve got a great show for you today, kids, so hang on tight.
I am teaming up with Dylan Eglan to launch NubyonRails.com in the next few weeks. It will be bigger, better, faster, and will give you the option to submit content. There will be a troubleshooting database where you can lookup errors and find out how other people have solved them. It will slice, dice, and make curly fries.
If you have any ideas for topics that you would like to hear about (or write about), contact me
By popular request and in response to the debate going on over pluralization, I’m posting my code for the pluralizer. It’s a little sloppy right now, but you can run it on your own machine (or against edge rails if you want). Feel free to send patches back to me via email.
A Rails generator should probably be written, and a gem made. If anyone wants to do that, it would be great. Otherwise, I’ll do it in the next week or two.
It also has a little action I wrote for keeping up on TODO’s. What? Yet another TODO manager?
Well, this one is a little different. Do you ever do this?
# TODO Drunk, fix later def some_sloppy_method ...
Now, you can go to http://0.0.0.0:3000/tools/todos and have a list generated from all your in-code TODOs. It saves the list as YAML under db/todos.yml and gives you a link to regenerate the list on demand.
Here’s what it looks like (extra styling added):
I’ll write a Rails generator soon, but in the meantime, copy the following files to their locations:
tools_controller.rb -> app/controllers/ views/tools -> app/views/tools/ spinner.gif -> public/images