lib/greygoo/role/storable.rb
# Like save, but ensures the the current object is updated from the db
Like save, but ensures the the current object is updated from the db
Like save but ensures the the current object is updated from the db
def save!
				res = self.save
				id = (res == true ? self._id : res)
				raise GreyGoo::Error, "Didn't get an id" if !id
				self.load(id)
			end
def save! res = self . save id = ( res == true ? self . _id : res ) raise GreyGoo :: Error , "Didn't get an id" if ! id self . load ( id ) end
Like save, but ensures the the current object is updated from the db
Like save but ensures the the current object is updated from the db