diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-10-11 03:55:06 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-10-11 04:03:19 +0900 |
commit | 0780c444dbf9793fdffaa631fa929d77f109e24f (patch) | |
tree | 54de9e90fdf4d399fff3e3ff2206f38e29bc1d65 /activerecord/test/cases/autosave_association_test.rb | |
parent | 15fa282148c3fef064e9cee6564f60ea32f6a2d5 (diff) | |
download | rails-0780c444dbf9793fdffaa631fa929d77f109e24f.tar.gz rails-0780c444dbf9793fdffaa631fa929d77f109e24f.tar.bz2 rails-0780c444dbf9793fdffaa631fa929d77f109e24f.zip |
Fix table comment dumping
Follow up to #26735.
If `table_options` returns `{ comment: nil }`, `create_table` line is
broken.
Example:
```ruby
create_table "accounts", force: :cascade, do |t|
```
Diffstat (limited to 'activerecord/test/cases/autosave_association_test.rb')
0 files changed, 0 insertions, 0 deletions