Sha256: 82f6294ad2da0fae4d329873c6d11163ce36ba48245150b6c10af343dabc29f4
Contents?: true
Size: 443 Bytes
Versions: 21
Compression:
Stored size: 443 Bytes
Contents
module Ruhl module Rails module Helper def form_authenticity {:value => form_authenticity_token, :type => "hidden", :name => "authenticity_token"} end def i(type,column) model = presentee.class.name.underscore { :type => type, :id => "#{model}_#{column}", :name => "#{model}[#{column}]", :value => presentee.send(column) } end end end end
Version data entries
21 entries across 21 versions & 1 rubygems