require railtie. handle empty list