Method: Engine2::DecodeAction#post_process
- Defined in:
- lib/engine2/action/decode.rb
#post_process ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/engine2/action/decode.rb', line 21 def post_process if fields = [:field_list] fields = fields - static.[:field_list] if dynamic? # no decorate here fields.each do |name| type_info = assets[:model].type_info[name] # foreign keys ? proc = ListRendererPostProcessors[type_info[:type]] # like... checkboxes, list_selects proc.(self, name, type_info) if proc end end # no super end |