M开发者_运维百科y Sinatra app is a collection of notes. Each note is assigned a (future) date when it should be published:
I\'m having some problems using Sinatra with Capybara. I want to test a pure javascript application. It\'s just a plain index.html that is being served by Sinatra.
My productions setup\'s as follows: Ubuntu 10.10 rails 3.1.1 Passenger 3.0.9 Sinatra 1.3.1 Apache 2.2.17 I have tested my app on my development machine without issue but when I deploy to my produc
I have a bunch of small sinatra apps, and now I have to publish them under SSL HTTP as well. I have https://secure.mydomain.com/ and I want to publish those apps in subdirectories:
I\'m completely new to ruby and I\'m trying to format the created_at field pulled in from the Twitter gem. I know in rails you can use time_ago_in_words for rails, but I was wondering how you can do t
I\'ve got a Sinatra 1.2.0 app that is doing Last-Modified validation caching with Rack::Cache.Things are working great-- I call last_modified in my route body and if the cache has an up-to-date copy,
I开发者_运维问答 am trying to run some commands remotely and SSH\'ing in to the machine is not an option. What I am trying to do is setup a Sinatra app that runs some specific commands and streams the
I want to use log4r with log-levels info, warn and error in a Sinatra 1.3.1 app. The output should go to 开发者_运维知识库requests.log (http requests), error.log and sinatra.log (other outputs).
It\'s the first time I\'m working with Sinatra and I just can\'t get sessions to work in my tests. I have enable :sessions in my app.
My super-simple Sinatra app is a list of notes, and each note has an attached image. I\'ve got a \'put\' route set up that lets me update notes, but unless I re-upload the image, I lose it (note.imag