29 Dec '13, 6pm

@ichilton see

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#Using%20Sinatra%20as%...

Tweets

Praiz has a new 18k Rolex watch + you must see ...

ynaija.com 29 Dec '13, 5pm

Praiz has a new 18k Rolex watch + you must see it (LOOK) Wow! Wale the rapper did a documentary with Pdiddy’s Revolt TV ab...

#3 goes to the 3s of '88. See the rest of the l...

twitter.com 29 Dec '13, 9pm

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

FPCB maker Flexium to see double-digit revenue ...

digitimes.com 30 Dec '13, 8am

FPCB maker Flexium to see double-digit revenue growth in 1H14 Patty Wang, Taipei; Steve Shen, DIGITIMES [Monday 30 Decembe...

Sighhh... Didn't get to see Joon tearing his sh...

twitter.com 30 Dec '13, 6am

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

See the SAO heroines in a wedding dress with Sword Art Online: Hollow Fragment

See the SAO heroines in a wedding dress with Sw...

sgcafe.com 28 Dec '13, 7am

This will be the second SAO game following Sword Art Online Infinity Moment which was released earlier this year for the P...

Photo: The most beautiful photo of an elephant you'll see today

Photo: The most beautiful photo of an elephant ...

treehugger.com 27 Dec '13, 12pm

Dramatic golden lighting shows off the contours of an elephant's head and body, and the soft moodiness reminds us of just ...

#Solar PV industry to see demand hit 49 GW in 2014

solarindustrymag.com 30 Dec '13, 5pm

to reach 49 GW in 2014, up from 36 GW this year, according to findings in the latest quarterly report from NPD Solarbuzz. ...

Photo: Not a smile you see every day: Maybe it's just us, but if you look at this stingray's grin long enough...

Photo: Not a smile you see every day: Maybe it'...

treehugger.com 26 Dec '13, 12pm

Maybe it's just us, but if you look at this stingray's grin long enough, you really do find yourself smiling back! Do you ...

Smart Utilities See Distributed Generation #Sol...

solarindustrymag.com 18 Dec '13, 4pm

Utilities are no friend of rooftop solar. At least that's the general impression one might get from recent media stories a...

Smart utilities see distributed generation #sol...

solarindustrymag.com 18 Dec '13, 1pm

Utilities are no friend of rooftop solar. At least that's the general impression one might get from recent media stories a...

Are there any smart #utilities who see the dist...

solarindustrymag.com 18 Dec '13, 1am

Utilities are no friend of rooftop solar. At least that's the general impression one might get from recent media stories a...

Aaron Paul on ‘Blackfish’: “Everyone Should See...

ecorazzi.com 20 Dec '13, 12am

many celebrities who have tweeted their astonishment of the plight of orcas in captivity at marine parks such as SeaWorld....

Marc Jacobs' Final Campaign For Louis Vuitton Is Here: See The Star-Studded Pictures #fashion

Marc Jacobs' Final Campaign For Louis Vuitton I...

marieclaire.co.uk 20 Dec '13, 11am

Marc Jacobs has bid farewell to his beloved Louis Vuitton with one final campaign to accompany his Spring Summer 2014 coll...

See What Dutch the Service Dog Has Been Up to Since We Saved Him

See What Dutch the Service Dog Has Been Up to S...

care2.com 20 Dec '13, 7pm

This year, Care2 members helped save a dog named Dutch because someone started a petition on Care2 . Dutch was going to be...