Dorian Marié

Results 62 comments of Dorian Marié

I switched to Pundit and it's much easier to manage nested routes. e.g. I have a Message model, it's nested under events and under users

See https://github.com/faye/faye/issues/537 for the other dependency that depends on cookiejar from rails

I made a fork at https://rubygems.org/gems/cookiejar2 / https://github.com/dorianmariefr/cookiejar2

I published at new version at https://rubygems.org/gems/cookiejar2 / https://github.com/dorianmariefr/cookiejar2

I made `cookiejar2` mainly for the warnings but can accept other changes https://rubygems.org/gems/cookiejar2 / https://github.com/dorianmariefr/cookiejar2

still an issue, would be nice to have `file_fixture` in factories ❤️

I feel like this is a rails/rails issue, we should be able to attach a file with something like `User.create(avatar: File.open("image.jpg")` or `User.create(avatar: file_fixture("image.jpg")` For `File.open`, it returns a `File`:...

I opened a pull request on rails/rails https://github.com/rails/rails/pull/45606

happened to me while installing ruby 2.3.1 on macos 10.15.3

I feel like it would be an indirect use of a global variable (hiding this fact doesn't make it better :) ). The fact is that the best compromise is...