diff options
author | wangjohn <wangjohn@mit.edu> | 2013-08-22 16:15:11 -0400 |
---|---|---|
committer | wangjohn <wangjohn@mit.edu> | 2013-08-22 18:06:56 -0400 |
commit | 8c5d62f79669fcf67d106036177d731703f3aa44 (patch) | |
tree | 773f3b60495e00a439da0a69434d3e0cd141a95e /railties | |
parent | 744ed5c39381cb3e58eba6fab21f42b3408dce53 (diff) | |
download | rails-8c5d62f79669fcf67d106036177d731703f3aa44.tar.gz rails-8c5d62f79669fcf67d106036177d731703f3aa44.tar.bz2 rails-8c5d62f79669fcf67d106036177d731703f3aa44.zip |
Making proper_table_name take in options.
The options will specify the prefix and the suffix. Also, I'm moving the
method to be an instance method on the +Migration+ instance. This makes more
sense than being a class method on the +Migrator+ class because the only
place that uses it is on a +Migration+ instance (in a method_missing
hook). The logic for the Migrator shouldn't be doing any work to
calculate the table name, it should be the Migration itself.
Also made some small indentation fixes.
Diffstat (limited to 'railties')
0 files changed, 0 insertions, 0 deletions