I\'m attempting to run Sinatra with the sinatra-synchrony mod. backed up by Thin. Code: require \'sinatra\'
I have a Sinatra app I plan on hosting on Heroku. This application, in part, scrapes a lot of information from other pages around the n开发者_如何学Cet and stores the information to a database. These
I am trying to use VB.Net to upload a file to a Sinatra web service, and I\'m not sure how to configure either end.When I run the VB.Net app, sinatra invariably responds with code 404.Here\'s the VB.N
I\'m just getting started with DataMapper and I\'m trying to figure out why you need to specify a has and a belongs_to.
I have a bit of ruby code: def createCal(cal) mod = @on + @off #line creating error. @daycount = 0 cal end
I\'m about to be designing a social website that must be able to handle a high volume of users. Here\'s how I want to design it:
I am trying to setup an nginx + sinatra + ubuntu 10.04 + passenger + rvm stack. I followed the directions here: http://thekindofme.wordpress.com/2010/10/24/rails-3-on-ubuntu-10-10-with-rvm-passenger-a
Any ideas as to where I am going wrong here? Error: C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/dm-do-adapter-1.1.0/lib/dm-do-adapter/adapter.rb:291:in `next!\': failed to allocate memory (No
I want to calculate the duration of time from a specific start and end time and output it in hours/minuts/seconds and how long that duration is compared to the whole month in percent.
Is there a way to use a flat .rb file to accept POST requests, or do I need to use a framework like Rails or Sinatra to accept the request?