I’d take @krames word on this one.


On March 17, 2014 at 4:32:02 PM, Kyle Rames (notifications@github.com) wrote:

In lib/fog/openstackcommon/models/identity/tenant.rb:

> @@ -10,19 +10,22 @@ class Tenant < Fog::Model
>          attribute :enabled
>          attribute :name
>   
> -        def to_s
> -          self.name
> +        def save
> +          requires :name
> +          identity ? update : create
The general direction has been towards using the persisted? method rather than using identity or !new_record?

—
Reply to this email directly or view it on GitHub.