Questions tagged as 'sinatra'

1
answer

How to use authentication in Sinatra?

What would be the best way to do authentication in applications built with Ruby / Sinatra? Devise I know it does not work. I have tried several tutorials with Warden, but the settings are very complex and confusing as I see it. Simple authentica...
asked by 15.08.2014 / 05:46
1
answer

Dynamic fields using Sinatra

In Rails this is a relatively simple task. But I did not find anything in Sinatra's documentation stating that it was possible. I want to add fields to a form dynamically. User clicks a link and a new field is added. If desired, click on another...
asked by 09.08.2014 / 12:23
0
answers

Error running tests using Sinatra and gem pg_search

I'm trying to run some tests using Sinatra's ruby, however I'm encountering this problem. ➜ onebitbot git:(master) docker-compose run --rm website rspec spec/services/faq/create_service_spec.rb Starting onebitbot_postgres_1 ... done An e...
asked by 10.07.2018 / 03:03
2
answers

Hosting Ruby application with Sinatra

I'm starting my studies in Ruby with DSL Sinatra. For this I installed Node.js then ruby with Sinatra. My applications locally are working normally. But I would like to make them available for web browsing. (so you can place the call anywhere...
asked by 21.05.2018 / 16:30