end get '/hola/:name' do "hello world " + params[:name] end get '/hola/:name' do |your_name| "hello world #{your_name}" end get '/hola.json' do {:greeting => "hello world"}.to_json end
def project_options(projects) projects.map do |project| "<option value='#{project.id}'>#{project.name}</option>" end.join end end Call helper methods in templates and route handlers
If you set your WIP limit to two or three for tasks being “in progress”, it helps you focus on exactly those tasks. And you have an explicit motivation for getting those tasks done as you should only start new stuff if there is an empty space on your Kanban board for another “in progress” task. " http://www.agileweboperations.com/kanban- wip-limits-the-fine-art-of-focus