I still see Rails as perhaps one of the best frameworks to start a new generic web project in. The out-of-the-box functionality is just so perfectly tuned, and the fact that they're focusing on features that appeal to larger applications just shows how Rails has helped companies grow.
Any Reason why Rails still does not include an any decent Auth by default? Edit: I remembering keep asking this question but obviously no answer was satisfactory enough that stick to my brain.
Rails 6: B-Sides and Rarities
41–49 of 49 posts
Re: Rails 6: B-Sides and Rarities
#42I still see Rails as perhaps one of the best frameworks to start a new generic web project in. The out-of-the-box functionality is just so perfectly tuned, and the fact that they're focusing on features that appeal to larger applications just shows how Rails has helped companies grow.
Any Reason why Rails still does not include an any decent Auth by default? Edit: I remembering keep asking this question but obviously no answer was satisfactory enough that stick to my brain.
Re: Rails 6: B-Sides and Rarities
#43I haven't done heavy work in Rails in four years. I miss all the bells and whistles.
I've decided to never quit those "bells and whistles", other frameworks just aren't good enought in competing with those... That is why I am optimizing my rails stuff with a few trick made in crystal lang (like the websocket server and a bunch of MTTQ like jobs ;) . For me, until ruby 3x3 gets out, crystal is a good help with scaling up processing.
For some front-end pieces where I need more flexibility, Vue nests in nicely with Rails where it's needed and gets out of the way where it's not needed. There's nothing in the JS world that even begins to compete with Rails as an end-to-end solution.
Re: Rails 6: B-Sides and Rarities
#44I still see Rails as perhaps one of the best frameworks to start a new generic web project in. The out-of-the-box functionality is just so perfectly tuned, and the fact that they're focusing on features that appeal to larger applications just shows how Rails has helped companies grow.
Any Reason why Rails still does not include an any decent Auth by default? Edit: I remembering keep asking this question but obviously no answer was satisfactory enough that stick to my brain.
If memory serves, Rails has quite good authentication built in by default.
If that's not what you meant, could you clarify?
Re: Rails 6: B-Sides and Rarities
#45Earlier quoted context omitted.
I've been a mentor at a hackathon a few months ago. 90% of the participants were on their twenties. The chances they know Rails are lower than for the same demographic ten years ago.
Interesting. What server side tech stacks are often used by young developers in the recent hackathon? Are there a few dominant ones or many choices?
My guess would be React/Angular or, if it's a particularly hip group, Next.js/Nuxt.js/Serverless with as little back-end as possible.
Re: Rails 6: B-Sides and Rarities
#46Earlier quoted context omitted.
Eh. Rails is fine, and lots of other things are fine too. Rails is amazing on day 1, even week 1 of a new project, vs piecing together your favorite separate smaller libraries into a web framework. That can be just what you need for a side project that you want to get up and running fast. But if you’re planning to build a business around it and work on this codebase for years, it’s crazy to optimize for day 1. (Not s…
There is an argument that you should absolutely be optimising for day 1. One of your biggest advantages as a startup is agility. Until you've hit upon product/market fit, you want to choose tools that enable you to iterate fast.
Re: Rails 6: B-Sides and Rarities
#47Earlier quoted context omitted.
I've been a mentor at a hackathon a few months ago. 90% of the participants were on their twenties. The chances they know Rails are lower than for the same demographic ten years ago.
Interesting. What server side tech stacks are often used by young developers in the recent hackathon? Are there a few dominant ones or many choices?
Re: Rails 6: B-Sides and Rarities
#48Earlier quoted context omitted.
Interesting. What server side tech stacks are often used by young developers in the recent hackathon? Are there a few dominant ones or many choices?
I'll second that question. I figured Rails would still be pretty popular, and now I'm wondering to what degree that is or isn't true these days. My guess would be React/Angular or, if it's a particularly hip group, Next.js/Nuxt.js/Serverless with as little back-end as possible.
For backend, graphql is in, expressjs is still in, firebase is in, flask and django are in.
Ruby on rails is unfortunately out among my peers: https://devpost.com/software/built-with/ruby-on-rails
Not a bad idea to do a blog post analyzing devpost trends, I might do that after exams.
Re: Rails 6: B-Sides and Rarities
#49Earlier quoted context omitted.
You can opt out of loading the library code for views/mailers/etc. Not sure if there's a way to skip the routing layer though. I'm sure you're aware of that already but just in case, you can skip loading the entire framework.
Use a Sinatra app and include ActiveRecord. There are a few gotchas like making sure to clear connections at the end of requests. https://stackoverflow.com/questions/41400202/replacing-activ... I’d love to see more examples of picking pieces of rails and combining with other libraries.