Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language:
Group categories:
Computers > Programming
More group info »
Active older topics
8 new of 8 - May 5
5 new of 5 - Apr 11
3 new of 3 - Apr 2
3 new of 3 - Mar 31
3 new of 3 - Mar 30
7 new of 7 - Mar 27
24 new of 24 - Mar 27
3 new of 3 - Mar 17
1 new of 1 - Mar 15
1 new of 1 - Mar 15
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 1130  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Discussions and help with sinatra (http://sinatra.rubyforge.com)
 

Sinatrarb connection failed when running from Android emulator 
  I am trying to point to: *h**ttp://localhost:4567 *but receive error message: AsyncTask #2 Service client error with message I/O error: Connection to [link] refused; nested exception is org.apache.http.conn.HttpHostC onnectException: Connection to [link] refused Not sure why. It works when connecting from xcode. All I had to do was... more »
By Gap22  - May 15 - 2 new of 2 messages    

undefined method `session' error, in Facebook Page Tab parse_signed_request 
  I am using Sinatra and Koala for creating a Facebook Page Tab application and am coming across the above error when the application is called inside Facebook Page tab. Unable to understand, the primary issue for this error, as am unable to find any reason as to why this error occurs, though a possible reason I can... more »
By Cody  - May 12 - 2 new of 2 messages    

Where to put configuration 
  I'm putting together a little MVC framework with Sinatra and am puzzling over where to put the database configuration for the models. At the moment I have this line in config.ru SomeController.configure :development do DataMapper.setup(:default, "sqlite3://#{Dir.pwd}/developm ent.db") end SomeController.configure :production do... more »
By DAZ  - May 12 - 4 new of 4 messages    

Cannot get sessions to work in test/production environments 
  Hi everyone First of all I would like to thank anyone who wants to help me out. Please visit my StackOverflow question to see the full problem: [link] I am developing a sinatra application and when I wanted to run it in test/production, I get the following error:... more »
By mariod...@gmail.com  - May 7 - 1 new of 1 message    

sintatra 1.4.x and fishwife problem 
  I have a simple bit of code that serves up index.html in our application. require 'sinatra' class StaticContentController < Sinatra::Base get '/' do send_file '/Users/jilles/git/localstream /www/localstream-web/foo.html' end end This worked fine up to 1.3.6. After upgrading to 1.4.2, it mangles the... more »
By Jilles van Gurp  - May 6 - 3 new of 3 messages    

Module application server with Sinatra 
  Hi ML readers, I would like to build a very simple application server using Sinatra. To do so, the idea is to use the Rack config file to "register" applications. Example: use MyApp1 use MyApp2 ... run Middleware However I am facing a weird problem: how can I retrieve the list of application from the top-level middleware (i.e. Middleware class/instance).... more »
By Julien Peeters  - May 4 - 2 new of 2 messages    

Decoding Rack::Session::Cookie info from within an EventMachine wrapped around a Sinatra app. 
  I am building a multi-player game using EventMachine's websockets and Sinatra. See this gist for the skeleton of how this is put together. [link] In the Websocket's onopen method I can access the encrypted cookie that is established by Sinatra using Rack::Session::Cookie but I am being thwarted... more »
By Dave Sag  - May 2 - 1 new of 1 message    

Multilingual website in Sinatra - Setting default language 
  I wonder how I can make a multilingual website with Sinatra + Sinatra-r18n that has the following features. 1. Default language other than English. -- (For some reason I failed to do this with any of the following options R18n :: I18n.default = 'es'; R18n.set ('es',' ./i18n / '), or R18n.default_places ='. / i18n / '.some examples that I found on the web.... more »
By marcqs  - May 1 - 3 new of 3 messages    

Storing and deleting temporary uploads 
  Hello list, let's say I'm building a service where a user uploads some files to a server. The server processes the files and presents the results in the view. So the app doesn't persist the uploaded files between users or sessions, it just crunches them. So, the questions: 1) How do I keep file uploads separate so that if two users upload at the... more »
By James Abbott  - Apr 22 - 7 new of 7 messages    

thin without multithreading? 
  How do I start thin without multithreading? Currently I use the "ruby my_sinatra.rb -p 4571" perhaps with some nohup around it. BTW, Thin was awesome because it was built on EventMachine, which is an alternative to threading. Why was threading added into thin? Seems anathema. m
By Marc Byrd  - Apr 12 - 2 new of 2 messages    

1 - 10 of 1130   « Newer | Older »

XML       Send email to this group: sinatrarb@googlegroups.com