Compatibility of rails 4's strong parameters.
Use template instead of copy_file, for backward compatible.
Merge pull request #421 from lazywei/strong-parameters

Compatibility of rails 4's strong parameters.