Closed nodkz closed 10 years ago
Great idea. I suppose you've tested it live?
Yes.
Firstly write .present?, but this method works only in rails. So change to .empty? and it works perfectly in production.
.present?
.empty?
Thanks! Merging this. I'll deploy to the Yarp production servers too.
Great idea. I suppose you've tested it live?