README.md in weak_parameters-0.0.4 vs README.md in weak_parameters-0.0.5

- old
+ new

@@ -9,11 +9,11 @@ ## Usage ```ruby # WeakParameters provides `validates` class method to define validations. class RecipesController < ApplicationController validates :create do - string :name, required: true - integer :type + string :name, required: true, except: ["charlie", "dave"] + integer :type, only: "1".."3" end def create respond_with Recipe.create(params.slice(:name, :type)) end