News for hackers. Stuff that matters.
Re:Ask HN: What does the more intensive work in Rails/simila... by avitzurel on Friday November 18, 2016 @02:30PM (#12989416)
https://www.trip.com is 90% Rails I'd say. Everything you see on the surface is Rails.

As you grow, you do less of "belongs_to" and "has_many" and you do way more Ruby and way more Glue code that will work with all the models in the system and generate something for the user.

Scaling is a big issue, you constantly work around "best practices" that don't scale. (active-model-serialization for example) in favor of more fine-grained control over your models and data flow.

These days, the work is about 45-45-10, 45% you do APIs, 45% you do JS/React/etc... and 10% you do "Rails" (likely even less).

When the project grows, the monolithic nature of it starts to be a very big pain in the ass. We are moving more and more into services that do one thing well and not automatically include everything into the project.

Hope this answers your question

Tips: Forget Rails, Learn Ruby, HTTP, how things flow from the request to the response. Adopt universal best practices.

Re:Ask HN: What does the more intensive work in Rails/simila... by ashleypt on Saturday November 19, 2016 @08:49PM (#12996831)
Thanks so much for posting!

This has inspired me to take my learning and future work far more seriously (along with reading war of art last night)

from now on my goal is to be an engineer and a businesswoman first and foremost, with the goal of being able to engineer quality products and systems for myself and freelance clients

from here im going to go through the odin project and focus on being well grounded in the fundamental principles and techs - no longer just a hobby and now i know to be at the top i will need a lot of grueling work

good thing i like react and js!

thx again :)

i think rails to start followed by some other stacks to see what best universal practices are

Re:Ask HN: What does the more intensive work in Rails/simila... by jamesmp98 on Friday November 18, 2016 @03:45PM (#12989936)
"Forget Rails, Learn Ruby" I disagree, Ruby is mostly nothing without Rails. It's a great language, but otherwise has little usage when it comes down to getting a job.
Re:Ask HN: What does the more intensive work in Rails/simila... by avitzurel on Friday November 18, 2016 @06:11PM (#12990842)
Even though I disagree with you, I didn't explain myself correctly initially.

Rails is a framework. You are not a Rails engineer, you are a Ruby engineer.

I see this a lot with people that started with Rails, they don't understand the basics of Ruby and it's capabilities, they look for "Array comparison Rails" etc...

Re:Ask HN: What does the more intensive work in Rails/simila... by canadathrowm on Sunday November 20, 2016 @12:10AM (#12997370)
Could you expand a little bit on the concept of active-model-serialization not scaling? Are you referring to the performance issues, or another problem?