Mark J. Lehman

Results 17 comments of Mark J. Lehman

This isn't a perfect solution, but what if the command ```bash rails g data_migration some_migration_name ``` automatically namespaced the migration class name with `Data` or something similar? Seems like that...

This hasn't been a problem for me, just stumbled across this issue. But sure, if I can carve out some time I'll give it a go.

I'd be glad to try to make this change, but wanted to make sure this was something you'd support first. I also may need some guidance as I go. If...

I understand the concern about possible unintended behavior. I'll tinker with the alternatives you mentioned and see if I can make those work. Thanks. On Jun 22, 2017 9:53 PM,...

OK, so this does work: ``` jsonapi_render_errors json: JSONAPI::Utils::Exceptions::ActiveRecord.new(interaction, @request.resource_klass, context) ``` The unfortunate thing is that we use these `interaction` objects all over our code, so we'd have to...

So far, the only way I've been able to get around this is just by reopening the module and overwriting the `jsonapi_format_errors` method: ``` module JSONAPI module Utils module Response...

Yeah I think that would work really well. Thanks for the discussion and idea. I'll try to get something pushed and make a pull request over the weekend.

Finally got around to picking at this. I made some progress, but am running into an issue with ```ruby JSONAPI.configure do |config| config.default_error_formatters = [ActiveRecord::Base, ActiveInteraction::Base] end ``` because [that...

Unfortunately, the only solution I found was uninstalling the gem. As soon as I did, the problem went away. I didn't have time to dig into the gem internals to...

Reproduced this in an example app https://github.com/supremebeing7/example_config That one is on rails 6.0.0.rc1, the other app I experienced this is on rails 5.2.3.