Refactored strong parameters usage and updated Gemfile.lock with Rails 4 #11347

Merged
merged 1 commit into from Jul 7, 2013

Projects

None yet

2 participants

@ankit8898
Contributor

Refactored strong parameter implementation and updated Gemfile.lock, also provided a new post link

@rafaelfranca rafaelfranca and 1 other commented on an outdated diff Jul 7, 2013
...etting_started/app/controllers/comments_controller.rb
@@ -14,4 +14,10 @@ def destroy
@comment.destroy
redirect_to post_path(@post)
end
+
+ private
+
+ def comment_params
@rafaelfranca
rafaelfranca Jul 7, 2013 Member

Private methods have one more level of indentation. Could you change please?

@ankit8898
ankit8898 Jul 7, 2013 Contributor

@rafaelfranca Done . Thanks.

@rafaelfranca rafaelfranca merged commit a67cc28 into rails:master Jul 7, 2013

1 check was pending

default The Travis CI build is in progress
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment