you did nothing wrong!
I don't know how I feel about Sinatra, I've never used it but I've used other micro frameworks, like Cuba for Ruby or Flask (my favorite) for Python.
Another microframework I heard mentioned is Hanami.
I think Sinatra is the most popular among the ones in Ruby.
You're right in saying that Rails and Django are more complex.
I guess that, as always, it depends on what you want to accomplish.
The good thing about microframeworks is that they are less "magic" and you can understand how the whole request, response cycle works.
The great thing about microframeworks is that if you write your code well you can more or less switch from one to another without too much effort.
Thank you very much. I'll search more about cuba and Hanami.
Absolutely. And I just wanted to say as well that I definitely didn't mean to imply that you were wrong in any way. Just because I'm a fan of Rails doesn't mean everyone else has to be. Good luck! I thought Sinatra was really fun when I learned it, so I hope you enjoy it as well.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.