…tions module that acts as a mixin for the ActiveRecord::Base class. Having MultiCondition class declared within a MultiConditions module is not really a perfect solution but - for now - I don't want to break BC renaming the GEM or the internal class.
MultiConditions.new now requires the first parameter to be the ActiveRecord model class. The new method ActiveRecord::Base#multiconditions is now the preferred way to to initialize a new MultiConditions instance. class Task < ActiveRecord::Base; end; Task::MultiConditions.new(Task) # too verbose Task.multiconditions # preferred way
…uture in order to send real queries instead of simple SQL statements