search results

  1. Use the top-level helpers method to define helper methods for use in route handlers and templates: helpers do def bar (name) ... then this class is Sinatra:: ...
    www.sinatrarb.com/intro.html - Cached
  2. The most common type of extension is one that adds methods for use in routes, views, and helper methods. ... given as class methods on Sinatra::Application.
    www.sinatrarb.com/extensions.html - Cached
  3. Use the top-level helpers method to define helper methods for use in route handlers and ... the request scope via the settings helper: class MyApp < Sinatra:: ...
    github.com/bmizerany/sinatra - Cached
  4. I want to use my Sinatra helpers methods in Mustache views. ... how can I use my method helper directly from home.mustache ? like this : ... class App < Sinatra:: ...
    stackoverflow.com/questions/10412094/​sinatra-how-to-use... - Cached
  5. Use the top-level helpers method to define helper methods for use in route handlers and templates: ... then this class is Sinatra::Application, ...
    www.verious.com/code/rkh/sinatra - Cached
  6. Use the top-level helpersmethod to define helper methods for use in route handlers ... from within the request scope via the settingshelper: class MyApp Sinatra:: ...
    railsapi.com/sinatra
  7. Probably something quite basic but I want to be able to use some custom helper methods ... helper\' class Profile < Sinatra:: ... methods as helpers to Sinatra:: ...
    stackoverflow.com/.../nomethoderror-​sinatra-modular-app - Cached
  8. Sinatra’s helper methods, template support ... He even used Sinatra as one of his ... Unit::TestCase include Rack:: Test::Methods class << self alias ...
    architects.dzone.com/articles/exploring-​elegance-sinatra - Cached
  9. Sessions are needed to use sinatra-flash and will ... some helper methods for ... to CSS files and another helper to add a class of ‘current ...
    browse.feedreader.com/c/RubySource/​497838380 - Cached
  10. Sinatra has a bucket load of helper methods that contribute to making it such ... These two methods can be used in route handlers to . .. class MyApp < Sinatra:: ...
    rubysource.com/sinatras-little-helpers - Cached