Sinatrarb.com
#33

Sinatra

require 'sinatra' get '/hi' do "Hello World!" end. Put this in your pipe. $ gem install sinatra $ ruby hi.rb == Sinatra has taken the stage ... >> Listening on 0.0.0.0: ...

Link: sinatrarb.com

  • README (Japanese)

    sinatrarb.com 14 Apr '14, 12am

    This page is also available in

  • Frequently Asked Questions

    sinatrarb.com 17 Mar '14, 11pm

    How do I make my Sinatra app reload on changes? What are my deployment options? How do I use sessions? How do I use session-based flash? Can I run Sinatra under Ruby 1.9? How do I get the “route” for the current page? How do I access helpers from within my views? How do I render parti...

  • README

    sinatrarb.com 15 Dec '13, 7pm

    List of locals passed to the document. Handy with partials. Example: erb "<%= foo %>", :locals => {:foo => "bar"} default_encoding String encoding to use if uncertain. Defaults to settings.default_encoding . views Views folder to load templates from. Defaults to settings.views . layou...

  • README

    sinatrarb.com 04 Dec '13, 2pm

    List of locals passed to the document. Handy with partials. Example: erb "<%= foo %>", :locals => {:foo => "bar"} default_encoding String encoding to use if uncertain. Defaults to settings.default_encoding . views Views folder to load templates from. Defaults to settings.views . layou...

  • README

    sinatrarb.com 29 Dec '13, 6pm

    List of locals passed to the document. Handy with partials. Example: erb "<%= foo %>", :locals => {:foo => "bar"} default_encoding String encoding to use if uncertain. Defaults to settings.default_encoding . views Views folder to load templates from. Defaults to settings.views . layou...

  • README (Japanese)

    sinatrarb.com 08 Oct '13, 4am

    # アプリケーションが http://example.com/example で動作している場合 get '/foo' do request.body # クライアントによって送信されたリクエストボディ(下記参照) request.scheme # "http" request.script_name # "/example" request.path_info # "/foo" request.port # 80 request.request_method # "GET" request.query_string # "" request.content_le...

  • Sinatra

    sinatrarb.com 29 May '12, 6pm

    README Documentation Contribute Code Crew About Sinatra require 'sinatra' get '/hi' do "Hello World!" end Put this in your pipe $ gem install sinatra $ ruby -rubygems hi.rb == Sinatra has taken the stage ... >> Listening on 0.0.0.0:4567 and smoke it

  • Frequently Asked Questions

    sinatrarb.com 17 Nov '13, 8am

    How do I make my Sinatra app reload on changes? What are my deployment options? How do I use sessions? How do I use session-based flash? Can I run Sinatra under Ruby 1.9? How do I get the “route” for the current page? How do I access helpers from within my views? How do I render parti...

Related

sinatra-book.gittr.com
Sinatra Book
padrinorb.com
Padrino
ramaze.net
Ramaze • The Web Framework for Rubyists
sinatrafamily.com
Frank Sinatra Family: Nancy Sinatra, Frank Sinatra Jr, Tina Sinatra
camping.io
Camping, Book: Publishing an App
halcyon.rubyforge.org
Halcyon — Home