Module: DCA::Models::Binder
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- COMPLEX_TYPE =
[:integer, :float, :string, :symbol, :datetime]
Instance Method Summary collapse
Instance Method Details
#bind(content) ⇒ Object
47 48 49 50 51 52 |
# File 'lib/dca/models/binder.rb', line 47 def bind content self.class.associations.each do |field, | update field, self.class.binder.parse(self, content, ), [:options][:append] end self end |