Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
removed the default array for tag_list. Rails4 didn't actually like this
  • Loading branch information
markgandolfo committed Apr 6, 2015
1 parent 3311720 commit 9fab2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9fab2a1

Please sign in to comment.