Sha256: b1f2b41552eec6b78a1990f58b7dd32eff5d2e958cda9f8c20a9065162279fab
Contents?: true
Size: 266 Bytes
Versions: 6
Compression:
Stored size: 266 Bytes
Contents
require 'polyblock' module Polyblock module StrongParamsHelper def self.polyblock_params(block) { :"#{block}_attributes" => [:name, :content] } end def polyblock_params(block) StrongParamsHelper.polyblock_params block end end end
Version data entries
6 entries across 6 versions & 1 rubygems