This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Description
I got below error.
$ rails db:seed
rails aborted!
NoMethodError: undefined method `sanitize' for #<Class:0x000000034e8ba0>
/home/k2/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/dynamic_matchers.rb:22:i
n `method_missing'
/home/k2/.rvm/gems/ruby-2.4.0/gems/populator-1.0.0/lib/populator/factory.rb:85:in `block (2 levels)
in rows_sql_arr'
/home/k2/.rvm/gems/ruby-2.4.0/gems/populator-1.0.0/lib/populator/factory.rb:85:in `map'
/home/k2/.rvm/gems/ruby-2.4.0/gems/populator-1.0.0/lib/populator/factory.rb:85:in `block in rows_sq$
_arr'
/home/k2/.rvm/gems/ruby-2.4.0/gems/populator-1.0.0/lib/populator/factory.rb:84:in `map'
/home/k2/.rvm/gems/ruby-2.4.0/gems/populator-1.0.0/lib/populator/factory.rb:84:in `rows_sql_arr'
...
I'm using rails that versioned 5.1.0.rc2 .
and I tried with 5.0.2, db:seed passed.
this problem occurs only rails 5.1.0.rc2.