Method: RulesEngine::Publish::RePublishedPlan.plans
- Defined in:
- lib/rules_engine/publish/publisher/db_publisher.rb
.plans(plan_code, options = {}) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/rules_engine/publish/publisher/db_publisher.rb', line 17 def self.plans(plan_code, = {}) klass = self klass = klass.by_plan_code(plan_code) klass = klass.order_plan_version('DESC') klass.find(:all) end |