As an avid evite user I’m well aware that the site really works well for 95% of the people that need to use it. I’m also well aware that every regular user I know either dislikes it – or has no opinion. While there are _many_ people who really appreciate what it does: greatly assist [...]
Entries from October 2006
October 2, 2006
Be careful with assert_not_equal
As I discovered today, assert_not_equal has a pretty big problem: it does exactly what you ask it to do. I just need to make sure that a user has at least one record: assert_not_equal 0, UserPreference.find_by_user_id(user_id) As you may have just caught: that is always going to pass. Not a tough mistake when you’re motoring [...]