摘要:
I want to extend form builder to add custom methods. But some issues blocks me, i try my best to resolve it, i should share my solution here,wish it can help somebody.This is the current situation:module Admin::BaseHelper def field_container(model, method, options = {}, &block) css_classes = opt 阅读全文