This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test group helpers for creating tables. | |
# The latest version can be gound at https://gist.github.com/lowjoel/bda0d44b48aac2925079 | |
module ActiveRecord::TemporaryTable; end | |
module ActiveRecord::TemporaryTable::TestGroupHelpers | |
# Defines a temporary table that is instantiated when needed, within a `with_temporary_table` | |
# block. | |
# | |
# @param [Symbol] table_name The name of the table to define. | |
# @param [Proc] proc The table definition, same as that of a block given to | |
# +ActiveRecord::Migration::create_table+ |
OlderNewer