lib/table_for/base.rb in table-for-2.0.0 vs lib/table_for/base.rb in table-for-2.1.0

- old
+ new

@@ -1,12 +1,13 @@ -require 'building-blocks' +require 'blocks' module TableFor - class Base < BuildingBlocks::Base + class Base < Blocks::Base alias columns queued_blocks alias column queue attr_accessor :current_record + alias_method :current_row, :current_record def header(name, options={}, &block) define("#{name.to_s}_header", options, &block) end