1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
yuuji.yaginuma c9a084a530 Fix can't modify frozen String error in DatabaseTasks
Without this, `db:structure:dump` task raises an error as follwing:

```
can't modify frozen String
activerecord/lib/active_record/tasks/sqlite_database_tasks.rb:77:in `run_cmd_error'
activerecord/lib/active_record/tasks/sqlite_database_tasks.rb:72:in `run_cmd'
activerecord/lib/active_record/tasks/sqlite_database_tasks.rb:52:in `structure_dump'
activerecord/lib/active_record/tasks/database_tasks.rb:219:in `structure_dump'
activerecord/lib/active_record/railties/databases.rake:279:in `block (3 levels) in <main>'
railties/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'
railties/lib/rails/commands/rake/rake_command.rb:20:in `perform'
railties/lib/rails/command.rb:48:in `invoke'
railties/lib/rails/commands.rb:18:in `<main>'
```
2017-08-30 08:17:30 +09:00
..
active_record/connection_adapters Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
assets Use YAML to serialize schema cache 2016-11-27 22:09:58 -05:00
cases Fix can't modify frozen String error in DatabaseTasks 2017-08-30 08:17:30 +09:00
fixtures Add binary helper method to fixtures. 2017-08-12 18:35:32 +09:00
migrations Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
models counter_cache requires association class before attr_readonly 2017-08-23 02:14:48 +00:00
schema Fix CI failure due to reference type mismatch 2017-08-14 17:27:54 +09:00
support Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
.gitignore
config.example.yml Fix tests for prepared_statements: false and queries hitting #select_all 2016-11-19 21:52:52 +05:30
config.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00