12 May '13, 4pm

これよさそうね / “Sinatra::Namespace (part of Sinatra::Contrib)”

This extension is part of the Sinatra::Contrib project. Run gem install sinatra-contrib to have it available. Sinatra::Namespace Sinatra::Namespace is an extension that adds namespaces to an application. This namespaces will allow you to share a path prefix for the routes within the namespace, and define filters, conditions and error handlers exclusively for them. Besides that, you can also register helpers and extensions that will be used only within the namespace. Usage Once you have loaded the extension (see below), you can use the namespace method to define namespaces in your application. You can define a namespace by a path prefix: namespace '/blog' do get { haml :blog } get '/:entry_permalink' do @entry = Entry.find_by_permalink!(params[:entry_permalink]) haml :entry end # More blog routes... end by a condition: namespace :host_name => 'localhost' do get('/admin/dash...

Full article: http://www.sinatrarb.com/contrib/namespace.html

Tweets

Kisahnya Secebis Hati part 19: Assalamualaikum dan Salam 1Dunia, part ke-19 sambungan “Kisahnya... via @denaihati

Kisahnya Secebis Hati part 19: Assalamualaikum ...

denaihati.com 12 May '13, 9am

Assalamualaikum dan Salam 1Dunia, part ke-19 sambungan “Kisahnya Secebis Hati“ hasil coretan dari Penderma HATI, Ahmad Kha...

OFFICIAL, Siwon at Incheon Airport (From Singap...

sup3rjunior.com 12 May '13, 8pm

Super Show 5 World Tour in São Paulo, Brazil – Donghae | Part 2 [6P] - From 130421 One Night’s TV Entertainment - Super Ju...

Running with Mariel Hemingway Part 1: Fun in the GD Studio

Running with Mariel Hemingway Part 1: Fun in th...

care2.com 11 May '13, 9pm

The title of this article is metaphoric only, because I assure you there is no way I could physically keep up with Mariel ...

Arema Indonesia part ways with Ridhuan - Singapore

Arema Indonesia part ways with Ridhuan - Singapore

goal.com 11 May '13, 4pm

The former Singapore international has only featured five times for the Indonesia Super League side and was dismissed due ...

Official, Siwon at Incheon Airport (From Singap...

sup3rjunior.com 11 May '13, 7am

130510 Sungdong Cafe with Heechul [Transcript] 130509 Siwon with Dakota Fanning [1P] (Chanel Cruise Show) Kyuhyun at Schoo...

Parenting with Pampers – Part 4 #Traveling with #baby!

Parenting with Pampers – Part 4 #Traveling with...

alvinology.com 10 May '13, 11am

This is part 4 of a 5 part parenting feature with Pampers . Together with four other parenting bloggers, I am given the ch...

Google & Time Inc. Launch Timelapse: See How Any Part Of The World Has Changed Over Time

Google & Time Inc. Launch Timelapse: See How An...

searchengineland.com 09 May '13, 4pm

The new Timelapse site, created by Time Inc. and Google, is a pretty amazing way to see how any part of the world has chan...

YouTube Stars to Take Part in Social Star Awards

reelseo.com 10 May '13, 11pm

Seemingly coming out of nowhere, social influencer platform Starcount , along with YouTube, is holding an event known as t...

Insect in wanton noodles is only part of a vegetable, wait staff tell customer

Insect in wanton noodles is only part of a vege...

singaporeseen.stomp.com.sg 08 May '13, 4am

found an insect in her bowl of wanton noodles but the staff member dismissed it and said it was part of a vegetable. Wrote...

Blog- Maxis 4G LTE SpeedTest [Part 1]

Blog- Maxis 4G LTE SpeedTest [Part 1]

malaysianwireless.com 06 May '13, 2pm

Maxis 4G LTE SpeedTest [Part 1] MalaysianWireless have been able to test out Maxis 4G LTE at a limited number of areas for...

Build Site Rankings and Develop a Following wit...

seo-advantage.com 06 May '13, 6am

Developing and maintaining a blog optimized for search engines is a great way to build inbound links, boost search engine ...

How to Plan for Your Shoot: Storytelling the Stillmotion Way, Part 3: Part 3 of the Stillmotion's series on V...

How to Plan for Your Shoot: Storytelling the St...

reelseo.com 03 May '13, 8pm

Part 3 of the Stillmotion series on storytelling gets down into preparation for the shoot. The idea is to know what you're...

LASIK at Shinagawa – Part 3 -

lesterchan.net 30 Apr '13, 3am

Post-Operation Day 1 (Tuesday, 2nd April 2013) The next day, you will have to go back to have your eyes checked, I was ver...

PICTURES: Thousands of graphic novels given awa...

straitstimes.com 04 May '13, 10pm

Members of local cosplay group The Neo Tokyo Project in Kinokuniya to promote their upcoming convention, International Cos...

Sergio, Tiger part of three-way tie

Sergio, Tiger part of three-way tie

golf.com 12 May '13, 2pm

PONTE VEDRA BEACH, Fla. (AP) -- Tiger Woods and Sergio Garcia are part of a three-way tie for the lead at The Players Cham...