I want to make a blog application in Sinatra and DataMapper, my main application file is like this. %w[rubygems sinatra data_mapper].each{ |r| require r }
So I wrote a simple \"Hello World\" site using sinatra: #!/usr/bin/env ruby # sinatra_demo/bin/sinatra_demo
I have a REST API written for Sinatra - I would like to build some good unit tests, and wanted the community\'s input on whic开发者_如何学Goh libraries I should spend my time investigating.Have a look
I have a question regarding using rack-mount with Sinatra. I\'ve got two classic-style Sinatra apps. Let\'s call one App defined in app.rb and the other API defined in api.rb.
I\'ve been trying to get a simple hello world web app running on Sinatra. I have the following setup: config.ru
I\'m trying to use OmniAuth in a sinatra app with google as the login provider.Using the twitter and facebook providers work fine:
I\'m very new to ruby & Sinatra and I have a basic question: The app I\'m trying 开发者_如何学编程to build will use Facebook as it\'s sole method of authenticating users into the app. I want to s
I can launch a basic app on Heroku, displaying a message with get \'/\'... works just fine.However, whenever I try to add sqlite wit开发者_JAVA百科h datamapper, the thing breaks down.
I\'ve got the following declared: set :sessions, true and then in my controller, I have: session[$session_id] = user.session_id if save_successful
My sinatra app has to parse a ~60MB XML-file. This file hardly ever changes: on a nightly cron job, It is overwritte开发者_如何学Gon with another one.