Davis W. Frank's blog
Ask for Help
"Has anyone run into issues moving their SVN project to git, where externals move to submodules, and multiple team members' check-ins keep screwing up merges & pulls?"
Why, yes. Many folks have. And Pivot Sam has written up a nice how-to over here.
Interesting Things
- Ruby
eql?vs.==vs.equalin Ruby
Plenty of discussion of this in other places, so I won't recap.
However, note that Numeric classes cast when calling ==, but not when calling #eql. Which means (he says, pretending to fire up irb):
>> 1.0 == 1 => true >> 1.0.eql?(1) => false
- The latest Github Rackspace move status is posted on their blog.
It looks like the gems are still not building yet, which meant that you'll need a gem server in the meantime. Say, one at Rubyforge, which is where you should be releasing your gems anyway.
- Public Service Announcement: your
named_scope's get evaluated when the class is loaded, not when an instance is created.
So, for example, if you're building a named_scope for "articles posted in the future" and want to use Time.now, do it in a lambda. Now you know.
Interesting Things
- Jetbrains has upped the version number of currently-under-development-RubyMine to RubyMine 2.0. We've played with the latest build and have found some cool things (better HAML/SASS support, more refactoring joy) and some annoyances (keyboard shortcuts in some dialogs seem broken)
- Github's move to Rackspace seemed to go well. More details on the Github blog & @github on Twitter.
- Pivotal's occasional November mustache competition is now a charitable exercise. We'll be using The Movember Foundation, which has partnered with The Lance Armstrong Foundation & The Prostate Cancer Foundation, to publicize our efforts. Expect regular 'stache-tus updates in this space.
