Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Practice Sinatra Basics Defining Routes Defining Routes

Set up a Sinatra app that responds with rhyming words. like pear with bear and shoe with zoo I guess but its not workin

Set up a Sinatra app that responds with rhyming words. It should have routes for GET requests to three paths: /pear, /moat, and /true. The /pear path should respond with "bear", the /moat path with "boat", and the /true path with "shoe".

anyone? I have no experience with ruby what so ever not sure hy it started like this. uggh.

rhyme.rb
It should have routes for GET requests to three paths: /pear, /moat, and /true. The /pear path should respond with "bear", the /moat path with "boat", and the /true path with "shoe" with "poo"

2 Answers

Jay McGavren
STAFF
Jay McGavren
Treehouse Teacher

Hi, timoleodilo ! It looks like you found the Practice Sinatra Basics practice session by visiting our library. But that course is intended to be taken only after completing our Building Web Apps with Sinatra course. And really, I wouldn't recommend taking any Sinatra courses until after you've learned the Ruby language itself.

Instead of looking for courses to take in the library, I would recommend joining our Learn Ruby track. It's a list of courses that we recommend new Ruby students take, in the order that we recommend taking them. The track still ends with the Sinatra course, but by the time you get there, you'll know everything you need to in order to be successful!

J llama
J llama
12,631 Points

hey man, not looking for an explanation of why you cant help up out here, esp if youre staff. more so help on the curriculum, thanks....

Jay McGavren
Jay McGavren
Treehouse Teacher

J llama, I'm not sure what you're asking for here. Are you looking for the answer to the code challenge that timleodilo asked about?

I don't have an answer for this.