No, `0` is not falsy such as `puts "hi" if 0 # => hi`. `nil` or `false` are the only values evaluated as false  :)

But I agree that `unless limit_posts.zero?` is not clearly condition. I'll change it as `if limit_posts > 0`