Merge pull request #11347 from ankit8898/refactoring-sp

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