fixture_builder
fixture_builder copied to clipboard
Deprecation Warning with Rails 5.0.7
I get the following deprecation warning when using fixture_builder
with Rails 5.0.7 several times every times the fixtures are rebuilt.
DEPRECATION WARNING: #tables currently returns both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only return tables. Use #data_sources instead. (called from block in <top (required)> at /home/runner/contexttravelapi/spec/support/fixture_builder.rb:4)
Where line 4 is the start of my fbuilder.factory do
block.
I had no issues or warning when working with the gem and Rails 4.
This disappeared on upgrade to Rails 5.1 and fixture builder continued to work.
@rmeritz Thanks for the report! I'm going to go ahead and leave this open to fix, as I suspect it might still break for people that do have views in their database.
It does not break for me, and I use views in my databases.