lib/greygoo/role/storable.rb
def save
        mykey = db_key
				if (_id)
					return db_update_all
				else
					return db_insert
				end
      end
# Upserts the current object. Updates if _id is set
Upserts the current object. Updates if _id is set
Upserts the current object . Updates if _id is set
def save
        mykey = db_key
				if (_id)
					return db_update_all
				else
					return db_insert
				end
      end
def save mykey = db_key if ( _id ) return db_update_all else return db_insert end end
Upserts the current object.
Upserts the current object .