Object#present? is not a standard ruby function it is only inside of active_support. Therefore outside of a rails app this would cause a NoMethodError.