IFTTT / polo

Polo travels through your database and creates sample snapshots so you can work with real world data in development.
http://ifttt.github.io
MIT License
775 stars 48 forks source link

Rails 6.0 support #55

Closed jonwaghorn closed 1 year ago

jonwaghorn commented 4 years ago

Similar to #50, it looks like Rails 6 has broken/removed attributes_with_values_for_create

NoMethodError: undefined method `attributes_with_values_for_create' for #<User:0x00007f9a584e9310>
jonwaghorn commented 4 years ago

Oh yes, see here https://github.com/rails/rails/commit/56ca81a9111d1a47349299e2b973160885bad767

jonwaghorn commented 4 years ago

Add this to your Gemfile if you require early Rails 6.0 usage of Polo gem:

gem "polo", "0.6.0.pre", git: "https://github.com/jonwaghorn/polo.git", branch: "feature/rails-6-pre"
jonwaghorn commented 1 year ago

Fixed in #56. Long ago, ha!