15 Dec '13, 7pm

@philhudson12345 @stripe @angularjs Hey Phil – are you setting as an instance variable?

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 . layout Whether to use a layout (true or false ), if it's a Symbol, specifies what template to use. Example: erb :index, :layout => !request.xhr? content_type Content-Type the template produces, default depends on template language. scope Scope to render template under. Defaults to the application instance. If you change this, instance variables and helper methods will not be available. layout_engine Template engine to use for rendering the layout. Useful for languages that do not support layouts otherwise. Defaults to the engine used for the template. Example: set :rdoc, :layout_engine => :erb layo...

Full article: http://www.sinatrarb.com/intro.html#Accessing%20Variables...

Tweets

“@LILNTHEBASEDGOD: hey I'm here to pick up your...

twitter.com 16 Dec '13, 1am

To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content,...

[POST] The Absolute Beginner’s Guide to Startin...

domain.me 13 Dec '13, 12am

In our last instance of the Tutorial, we mentioned some really cool plugins you might want to use, and Jetpack was one of ...

Roar Got A New README!

rubyflow.com 10 Dec '13, 4am

Roar Got A New README! Posted by apotonick on December 10, 2013 — 0 comments Finally, the Roar README got completely rewri...