Class: Rose::ActiveRecordAdapter
- Inherits:
-
ObjectAdapter
- Object
- ObjectAdapter
- Rose::ActiveRecordAdapter
- Defined in:
- lib/rose/active_record.rb
Overview
This class is provides ActiveRecord models the ability to run reports
Class Method Summary collapse
Methods inherited from ObjectAdapter
Methods included from CoreExtensions
#require_keys, #required_values
Class Method Details
.sprout(seedling, options = {}) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/rose/active_record.rb', line 8 def self.sprout(seedling, ={}) table = nil [:class].transaction do table = super(seedling, ) raise ActiveRecord::Rollback end table end |