diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-10 19:05:37 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-10 22:55:13 +0530 |
commit | b805c71655ada0e3fcf7ccc1cdf3376e55b2b9ce (patch) | |
tree | 239e573b7155f5f41acf0a43eb7d2a4d33690e46 /activerecord/lib/active_record/railties | |
parent | 74233d48e64650c26600f82ac23eb55c39fea342 (diff) | |
download | rails-b805c71655ada0e3fcf7ccc1cdf3376e55b2b9ce.tar.gz rails-b805c71655ada0e3fcf7ccc1cdf3376e55b2b9ce.tar.bz2 rails-b805c71655ada0e3fcf7ccc1cdf3376e55b2b9ce.zip |
Checking the arity of the block passed to create_table
A recent change made to create_table does away with the
need for the block argument. Checking the arity will prevent the
mixing up of the two syntaxes.
Diffstat (limited to 'activerecord/lib/active_record/railties')
0 files changed, 0 insertions, 0 deletions