cuba icon indicating copy to clipboard operation
cuba copied to clipboard

Rum based microframework for web development.

Results 4 cuba issues
Sort by recently updated
recently updated
newest added

``` Cuba.settings[ :state ] = Proc.new { "ok" } class A < Cuba; end ``` just does not work. some with singletons, lambdas, methods, etc I solved the problem for...

pending design

Hi, Would make sense to allow empty strings as a default param value? While it makes sense to prevent empty strings from being captured from a request, the current implementation...

feature request
awaiting feedback

This fixes an issue where settings are added to Cuba.settings _after_ inheriting from `Cuba` are not picked up by the child classes. The problem is described in issue #21. If...

```ruby def safe? return req.get? || req.head? || req.params["csrf_token"] == token ||#token create every time new one req.env["HTTP_X_CSRF_TOKEN"] == token end Change code ... def existing_token session[:csrf_token] end def safe?...