lib/rubaidh/authentication/controllers/authenticatable_controller_mixin.rb
def i_am?(object)
            if current_user == object
              true
            else
              false
            end
          end
# method to check the the object belongs to me (user or login)
# DEPRECATED: use a comparison with current user
method to check the the object belongs to me (user or login)
DEPRECATED: use a comparison with current user
method to check the the object belongs to me ( user or login ) DEPRECATED : use a comparison with current user
def i_am?(object)
            if current_user == object
              true
            else
              false
            end
          end
def i_am? ( object ) if current_user == object true else false end end
method to check the the object belongs to me (user or login)
DEPRECATED: use a comparison with current user
method to check the the object belongs to me ( user or login ) DEPRECATED : use a comparison with current user
object