Robb Shecter

Results 126 comments of Robb Shecter

Interesting. Reading the [cop docs](https://www.rubydoc.info/gems/rubocop-rails/RuboCop/Cop/Rails/HelperInstanceVariable), the intent seems to be, > Relying on instance variables makes it difficult to reuse helper methods. But @searls your design accounts for this. BTW,...

FYI, I installed from master, but still get the same error (now on line 22). Any ideas why that'd happen?

Ah hah, it looks like I had specified an attr key incorrectly.

Thank you very much, @Maxhou00 FYI, I changed `Numeric` to `Integer` to match the schema.org specs.

Excellent. Thanks for the practical solution, @Maxhou00 . For a more fundamental fix, I created [an Issue in the underlying library](https://github.com/dogweather/validated_object/issues/14). This will (1) make the Ruby more expressive, and...

FYI, [I implemented arrays in ValidatedObject](https://github.com/public-law/validated_object?tab=readme-ov-file#array-element-validation), and I'll update this gem to begin using them here. [I also added support for union types](https://github.com/public-law/validated_object?tab=readme-ov-file#union-types) because schema.org makes extensive use of them....

Hi Everyone, I've updated the gem and enhanced [Organization](https://github.com/public-law/schema-dot-org/blob/master/lib/schema_dot_org/organization.rb) to use the new type spec features: union types and typed arrays. Here's how it looks. It's a good example to...

You might want to do a search for CJ Date and his writings about NULLs in relational databases. Tldr; avoid it because this is exactly the problem you end up...

At the same time you posted this, I happened to be asking about this kind of functionality in the forum: https://discourse.gohugo.io/t/is-there-a-way-to-make-a-reusable-partial-component-that-could-be-shared-easily/48940