Archive for the ‘Uncategorized’ Category

What I Will Do for Rails 3

Another BugMash event is coming up next weekend. This one is different, though: Instead of attacking the issue tracker, participants are encouraged to Do One Thing for Rails 3. The announcement from RailsBridge lists a few ideas. I figured: why not try to do as many of them as possible? This is what I’m going to do for Rails 3:

  • I’ll submit patches for (at least) 3 known issues of Rails 3
  • I’ll upgrade a Rails 2.3.5 application, publish an article on the process, and report any bugs I stumble upon
  • I’ll make sure my Virtual Attribute Cache gem and Little Helper plugin works with Rails 3
  • I’ll convert someone else’s plugin or gem to work with Rails 3
  • I’ll publish an article on how to write (or re-write) a generator for Rails 3 using Thor
  • I’ll write documentation for a part of Rails 3 that needs love on that area

If you can do something for Rails 3 by following just one of the ideas it will be greatly appreciated — not to mention the cool prices!

Why I Protected My Tweets

A few days ago I added the members of RailsBridge to the people I follow on Twitter. Not one, but two people (indirectly but still obviously) complained about me having protected my tweets:

image provided by twictur.es | original tweet here

image provided by twictur.es | original tweet here

I replied to both of them. (First and second reply.) I admit the second reply was a bit snarky but I got annoyed by the fact that people assumes you want them to follow you back. I don’t. The reason I follow you is because I might be interested in what you’re doing. I chose to protect my tweets to prevent anyone from following what I do. Simple as that. Anyway, if you’re interested in following me, just send a request. I’ll most likely accept it.

Thanks for letting me explain this.

42

What happens when I’m bored:

david@david-laptop:~/code$ irb
irb(main):001:0> class Integer
irb(main):002:1>   def inspect
irb(main):003:2>     if self == 42
irb(main):004:3>       "The answer to life, the universe, and everything"
irb(main):005:3>     else
irb(main):006:3*       super
irb(main):007:3>     end
irb(main):008:2>   end
irb(main):009:1> end
=> nil
irb(main):010:0> 42
=> The answer to life, the universe, and everything

Hello, World!

My name is David Trasbo, and this is my new blog. I will try my best to update it every morning (Danish time). This blog will feature the following:

  1. Ruby (news, guides, tips & tricks)
  2. Rails (same as above)
  3. Ubuntu
  4. Links (think Mike Gunderloy’s “Double Shot” over at his blog or Elad Meidar’s “Bag O’ Links” at his blog)
  5. Me
  6. Randomness
  7. Whatever

So, go ahead and subscribe to the RSS feed. I won’t disappoint ya. ;)