Tom Wardrop
Tom Wardrop
If we're going to re-work routes, what do people think of making controllers classes instead of blocks? One of the big problems I have at the moment is that sharing...
@pepe I've actually since started writing my own sinatra/padrino-inspired framework as we speak. It's in it's early stages of implementation, but I've already spent a lot of time playing with...
Looking further into it, it seems this library is merely using #to_s on each object. DateTime happens to output a ISO 8601 compliant string, where as Time does not.
I've also noticed that when a required option is not provided, no message is returned to the user. For example, if I require a --view option but it's not supplied,...
I notice in more recent releases, instead of getting the timeout error, it just sits there and the executable never exits. I depend on the this command to behave consistantly...
@darkoperator Thanks for the quick reply. How would I wrap the value in single quotes if I'm passing the value in as a variable? If I was typing it in...
Turns out monkey patching C code is rather impossible in this case, because many methods (such as Array#to_json and Object#to_json) call internal C methods directly. It's not like they all...
Been spending the last few hours trying to find a work-around, and I've got nothing. Found out how to force which generator to use, but as soon as the default...
Thanks for the response Flori. I've actually tried the json_pure gem. The problem is, the C generator is still loaded and set, which I guess makes sense given that it's...
I've just been playing with that branch that has replace_nan. Indeed, it works, however I'm looking for a way to set replace_nan to true by default, so if I do...