Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Eldin Guzin
    Eldin Guzin
    6,010 Points

    Question about the "new" problem

    Posted February 5, 2024 10:07am by Eldin Guzin
    Eldin Guzin
    6,010 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Route Priority

    0 Answers

  • Alex Godfrey
    Alex Godfrey
    9,249 Points

    FYI URI.encode_www_form_component to be used instead of URI.escape for Ruby 3.0 and above

    Posted March 27, 2023 5:43pm by Alex Godfrey
    Alex Godfrey
    9,249 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • A Route for POST Requests

    0 Answers

  • Rhonda Goolsby
    Rhonda Goolsby
    6,992 Points

    redirect

    Posted August 3, 2020 8:45pm by Rhonda Goolsby
    Rhonda Goolsby
    6,992 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Submitting the Form Via POST Request

    1 Answer

  • Rhonda Goolsby
    Rhonda Goolsby
    6,992 Points

    How to make this code correct?

    Posted July 28, 2020 9:54pm by Rhonda Goolsby
    Rhonda Goolsby
    6,992 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Route Priority

    1 Answer

  • Muhammad sharifi
    Muhammad sharifi
    4,455 Points

    anyone know why this is not working.?

    Posted April 23, 2019 5:35pm by Muhammad sharifi
    Muhammad sharifi
    4,455 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Submitting the Form Via POST Request

    1 Answer

  • Muhammad sharifi
    Muhammad sharifi
    4,455 Points

    With this app, when a browser sends a GET request with a path of /1/fish, the response will be the string "I see 1 fish!

    Posted April 22, 2019 8:45pm by Muhammad sharifi
    Muhammad sharifi
    4,455 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Route Priority

    1 Answer

  • Andrew Ackerman
    Andrew Ackerman
    8,347 Points

    Struggling with task 3.

    Posted March 7, 2019 10:29pm by Andrew Ackerman
    Andrew Ackerman
    8,347 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Submitting the Form Via POST Request

    2 Answers

  • MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points

    If I didn't want to use the save content option, how would i save it to a database instead of to a file using sqlite3?

    Posted July 28, 2018 10:28pm by MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • A Route for POST Requests

    2 Answers

  • Christopher Phillips
    Christopher Phillips
    10,061 Points

    Challenge Task 2 of 4

    Posted July 16, 2018 5:53am by Christopher Phillips
    Christopher Phillips
    10,061 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Submitting the Form Via POST Request

    2 Answers

  • Steve Torrens
    Steve Torrens
    3,826 Points

    Changed the route definition order but not getting a correct answer

    Posted July 11, 2018 9:47am by Steve Torrens
    Steve Torrens
    3,826 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Route Priority

    1 Answer

  • Christopher Kemp
    Christopher Kemp
    3,446 Points

    "/signatures/new"

    Posted June 29, 2018 3:19am by Christopher Kemp
    Christopher Kemp
    3,446 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Submitting the Form Via POST Request

    1 Answer

  • manu anku
    PLUS
    manu anku
    Courses Plus Student 1,673 Points

    With this app, when a browser sends a GET request with a path of /1/fish, the response will be the string "I see 1 fish!

    Posted October 30, 2017 7:11am by manu anku
    manu anku
    Courses Plus Student 1,673 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Route Priority

    1 Answer

  • Sviatoslav Terletskyi
    Sviatoslav Terletskyi
    6,150 Points

    Finally, at the end of the post "/signatures/create" route, redirect the browser to the /signatures/new path (which will

    Posted September 22, 2017 9:04pm by Sviatoslav Terletskyi
    Sviatoslav Terletskyi
    6,150 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Submitting the Form Via POST Request

    1 Answer

  • Volodymyr Rusynyk
    Volodymyr Rusynyk
    5,725 Points

    Rewatching the video 20 times and I can't see there anything similar with the code challenge Stuck on it. Can anybody he

    Posted September 13, 2017 12:29pm by Volodymyr Rusynyk
    Volodymyr Rusynyk
    5,725 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Route Priority

    2 Answers

  • Amir Tamim
    Amir Tamim
    8,597 Points

    Redirecting browser...

    Posted September 12, 2017 5:37pm by Amir Tamim
    Amir Tamim
    8,597 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Submitting the Form Via POST Request

    1 Answer

  • Kepa Tairua
    PLUS
    Kepa Tairua
    Courses Plus Student 4,404 Points

    Error for Task 2, input type="text" but says it isn't.

    Posted July 15, 2017 5:17am by Kepa Tairua
    Kepa Tairua
    Courses Plus Student 4,404 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • An HTML Form

    1 Answer

  • Kyle Shamblin
    Kyle Shamblin
    9,945 Points

    test.rb file wont load.

    Posted May 30, 2017 12:11am by Kyle Shamblin
    Kyle Shamblin
    9,945 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Saving Text Files

    1 Answer

  • Noor Muhammad Iskandar
    Noor Muhammad Iskandar
    6,869 Points

    Ruby Post HTML challenge

    Posted March 23, 2017 7:13am by Noor Muhammad Iskandar
    Noor Muhammad Iskandar
    6,869 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Submitting the Form Via POST Request

    3 Answers

  • Neil Graham
    Neil Graham
    8,191 Points

    Does writing into a file always overwrite it?

    Posted February 28, 2017 12:01am by Neil Graham
    Neil Graham
    8,191 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • Saving Text Files

    1 Answer

  • Hadi Farhat
    PLUS
    Hadi Farhat
    Courses Plus Student 7,102 Points

    my form handles white spaces normally

    Posted January 12, 2017 7:22pm by Hadi Farhat
    Hadi Farhat
    Courses Plus Student 7,102 Points
    • Ruby
    • Building Web Apps with Sinatra
    • Adding New Data
    • A Route for POST Requests

    4 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord