Use puts for logging if Rails not defined
Avoid present? method