From cde9dffa2289f68ea540216f4fbed78dae68032c Mon Sep 17 00:00:00 2001 From: Mark Gandolfo Date: Mon, 6 Apr 2015 19:31:15 +1000 Subject: [PATCH] Update README.md removed the default array for tag_list. Rails4 didn't actually like this --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8396f5f4f..09182bca1 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ end class UsersController < ApplicationController def user_params - params.require(:user).permit(:name, :tag_list => []) ## Rails 4 strong params usage + params.require(:user).permit(:name, :tag_list) ## Rails 4 strong params usage end end