Henk van der Veen
Henk van der Veen
https://github.com/twe4ked/catacomb/pull/4/files
https://github.com/mendelk/react-rails/commit/018812ca5de9963a8354f934230499c770e45377 worked for me.
Just made my own for this, since the current implementation is doing in place string manipulation, which won't work in ruby 3. I only overwrote cast, since I don't want...
Note that in your example you need to either use: ```rb class Something < ActiveRecord::Base attribute :title, Strippable.new(allow_empty: true) end ``` or add this to an initializer ``` ActiveRecord::Type.register(:stripped_string, StrippedString)...
Same error, slightly different trace in rubymine ``` RubyMine 2020.3.2 Build #RM-203.7148.67, built on January 26, 2021 Runtime version: 11.0.9.1+11-b1145.77 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS...
My preference goes to ```ruby def my_predicate? first_long_condition \ || second_long_condition \ || third_long_condition \ || last_long_condition end ``` No indentation without nesting (just like elixirs `|>` is never indented),...
Another option would be to ignore the superfluous return rule here and type it as: ```ruby def my_predicate? return first_long_condition || second_long_condition || third_long_condition || last_long_condition end ```
I explicitly disabled chunked uploads for all browsers both passing the options directly as setting the option after, but am still getting empty files on the server when uploading from...
Yes. The demo says Blob.... 0.00KB file is too small. It looks like it's trying too upload chunked anyway. On the server side I get things like: [name] => Blob2165f4008f714f1f94e734973277a1da...
Thank you. I was resizing the image client side. disabling that it now works.