Closed KRaymundus closed 7 years ago
@KRaymundus you are correct. I am adding tests on branch feat/tests and I will incorporate this by checking AR version. I will probably finish with adding tests end of this week and close this issue :)
Fixed on master, closing.
According to my error message and what I read here: In Rails 5, the boolean casting is to be done as:
ActiveRecord::ConnectionAdapters::Column.cast(param)
instead of:ActiveRecord::ConnectionAdapters::Column.type_cast_from_database(param)
So the
filter_boolean
function in column_filters.rb should become: