Created
August 6, 2014 21:13
-
-
Save Irio/596bd175261f34e49cf9 to your computer and use it in GitHub Desktop.
select valid params from request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params.compact.keep(*FILTER).each do |name| | |
#send | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment