-
chaadow authored
All of ActiveStorage database modeltable nameshave been hard coded. Therefore, ActiveRecord::Base.(prefix|suffix) were not taken into consideration. To fix this we remove the hard coded lines. But then we need to also override an internal method for specifying the prefix because of a mystical ActiveRecord/ActiveStorage sync issue (Suffix does not appear to have the issue) Some tests were refactored to remove hard coded table name references, making ActiveStorage test suite compatible with ActiveRecord config.
chaadow authoredAll of ActiveStorage database modeltable nameshave been hard coded. Therefore, ActiveRecord::Base.(prefix|suffix) were not taken into consideration. To fix this we remove the hard coded lines. But then we need to also override an internal method for specifying the prefix because of a mystical ActiveRecord/ActiveStorage sync issue (Suffix does not appear to have the issue) Some tests were refactored to remove hard coded table name references, making ActiveStorage test suite compatible with ActiveRecord config.
Loading