-
Could cover things like:
- walk through of basic sinatra functionality
- when to use sinatra instead of Rails, and when to switch back to rails
- when to make use of Padrino, a sinatra framework
- rev…
acant updated
6 years ago
-
### Current behaviour
I have a sinatra app. By default, Sinatra app is a rack application and rack comes with its [Rack::CommonLogger](https://github.com/rack/rack/blob/main/lib/rack/common_logger.rb…
-
Is it possible to write a gem like https://github.com/rails/jquery-rails?
I mean package static assets in a gem for use in Sinatra applications and other gems?
-
I'm currently using a gem called Sinatra, where I am developing a small microserver upon that platform.
Example:
ruby import_contact.rb -e production
By default it uses the gem as thin server.
I…
-
Getting this error when trying to run `screenshot_and_save_page`:
``` ruby
Failure/Error: File.join(Sinatra::Application.root, capybara_tmp_path)
TypeError:
no implicit convers…
-
Ideally we should have two repos:
- bronto
- bronto-gem
bronto (this repo) will be/is a Sinatra-based REST API. bronto-gem will be a Ruby gem that houses the core thesaurus-izing technology. bronto w…
-
Especially for sinatra applications. Here's a minimal example demonstrating the problem:
**app.rb**
``` ruby
require "sinatra"
class App < Sinatra::Base
get '/' do
i = 1
i = 1
i = 1
…
-
For the most basic version I needed to add a `register Sinatra::Compass` line as-follows:
```
register Sinatra::Compass
get_compass 'css'
```
-
Olá,
Estava a tentar instalar isto num servidor da digital ocean, mas estou com algumas dificuldades pois não percebo se me está a falhar algum passo e que tipo de base de dados isto requer. para a…
-
we have a POST only route
so when a preflight request is made, `allowed_methods` is just `["POST"]`
and the size check causes the request to 404:
https://github.com/jdesrosiers/sinatra-cors/blob/6e…