kmsheng
kmsheng
I have similar hanging problem.
`json_key` should not be called when `attributes` adapter is used. object.class.model_name.to_s is not likely to get `model_name` correctly. For example, instances of `ActiveRecord_Relation` do not have the method `model_name` and...
What date is today ? Why is this issue still open ?
This project is dead.
@apotonick Sure, my pleasure
@apotonick Please take a look at https://github.com/trailblazer/reform-rails/pull/95/commits/1396f357f27f7e8881173b15dee5d2a549698e82 ,this test would fail at master branch.
And the error would be thrown as ``` Error: ParentTest#test_0001_allows nested collection validation messages to be shown: SystemStackError: stack level too deep lib/reform/form/active_model.rb:92:in `new' lib/reform/form/active_model.rb:92:in `active_model_name_for' lib/reform/form/active_model.rb:87:in `model_name' lib/reform/form/active_model/validations.rb:31:in `block...
trace before validate ```rb $enable_tracing = false $trace_out = open('trace.txt', 'w') set_trace_func proc { |event, file, line, id, binding, classname| if $enable_tracing && event == 'call' $trace_out.puts "#{file}:#{line} #{classname}##{id}" end...