Clear the cached compositions when refreshing.
# File lib/sequel/plugins/composition.rb, line 152 def _refresh(ds) super compositions.clear end
For each composition, set the columns in the model class based on the composition object.
# File lib/sequel/plugins/composition.rb, line 159 def before_save @compositions.keys.each{|n| instance_eval(&model.compositions[n][:decomposer])} if @compositions super end
Generated with the Darkfish Rdoc Generator 2.