Paul Smith

Results 133 comments of Paul Smith

Dang :( I think I may need to open a bounty on this because it would be *really* nice to have this error again. Maybe a stop gap solution could...

Tried again on Crystal 0.29 and still didn't work. Delaying until another Crystal release is out to try again with

I think your idea of an array of methods is a great idea. The default can be `get` but overridable: ```crystal fallback(:get, :post, :put) ``` Thanks for the suggestion and...

This API isn’t finalized so please hold off on working on it if you see this issue

The problem is the task is precompiled so there’s no way to override it ;(

I've only had time to briefly look at this. I like the idea of a separate object, but I think that will break the type-safety of HTML forms with permitted...

An example of doing this with a generic: ```crystal class UI::Button(T) < BaseComponent needs title : String needs action : T def render link title, to: action, class: "btn" end...

@neutrinog I agree it looks nicer especially if you are new to blocks. The downside is that you can't do something like this with the generic version since it uses...

Actually I don't think this quite does what I wanted and it seems it is very rarely used in the wild. I'll leave this open, but it is not a...