Sam Merritt
2p2 comments posted · 0 followers · following 0
117 weeks ago @ Union Station - Using the Rubygems Bun... · 0 replies · +1 points
Yep, it leaves the code looking nice and tidy.
More importantly, it means you don't have to repeat yourself by saying "gem 'sinatra'", then "require 'sinatra'" later on, so it's impossible for the 'gem' statements and the 'require' statements to get out of sync.
More importantly, it means you don't have to repeat yourself by saying "gem 'sinatra'", then "require 'sinatra'" later on, so it's impossible for the 'gem' statements and the 'require' statements to get out of sync.
117 weeks ago @ Union Station - Using the Rubygems Bun... · 1 reply · +1 points
I'm glad it was useful.
sinatra-more looks really interesting. I may have to start using that for its tag helpers; the last view I wrote in this Sinatra app, I was really missing the Merb/Rails-style form helpers.
sinatra-more looks really interesting. I may have to start using that for its tag helpers; the last view I wrote in this Sinatra app, I was really missing the Merb/Rails-style form helpers.
Experiment