Open PeterHattyar opened 1 year ago
I got a lot of value out of this tutorial. The start of it is free, but we may have L&D budget if you speak to your line manager: https://3rd-edition.railstutorial.org/
There are other free alternatives, but this might be a helpful starting point
Other things to consider. What version of Ruby do you want to run? How will you make that choice?
What version of rails would you like to target? Again why that, and not any others?
@huwd I tried to think about it and am aware that there are lot of version differences, which are managed by dependency upgrades on repositories in some cases, while in others certain versions of dependencies are locked in place. Given this is something I try to build from the ground-up, I've decided to use the latest Rails version available with its current set of gems.
Would you be able to give a quick insight and/or hints and tips how a dev should consider which version of rails (or anything in general required for a project for that matter) to select, and how to decide on for and against? In my mind, I'd take into account what platform, purpose and user-base I create the application for, and see if I can find any information about what rails version is preferred/supported in a specific scenario, but that's as far as I can think of as a start.
Yeah this is a constant question, I think the important thing here is to be clear on the process for getting an answer more than what version you actually end up doing.
Here's what I'd do.
I think when you've done all that, a clear winner will appear here for both Ruby version and Rails versions.
After that everyone other dependency you can probably just default to taking the "latest" version, as it should be less consequential (though there are exceptions to that statement we can get into later).
The important this about this is that you are mostly making this decision based on the non functional requirements for your app (what's secure, what's up-to-date, what's easy to maintain).
Rails 7 also has some great new features, and there's good reasons to use it over Rails 6 for just making fun stuff. But when you are starting out, I suspect you will not know those are features you really want just yet. Or you might like the sound of them, but then end up focused on building something that never uses them. I'm really interested in turbo-rails and stimulus, they sounded cool in rails v7. But I've never had a chance to actually use them, so if I'd upgraded to get those features it would have proved a big distraction. Best to just stick to the fundamentals above.
Only other factor you might want to have a quick google around for is "what gets me the most help". There was a big split in the Python community for a while around v2 and v3.
At some point, you've got to learn a lot here, and it's helpful if there are lots of blogs around around that are using the same version of your code. When i was learning rails there were a ton of resources for v5.x, and then v6.x came out. Some blogs never updated, so for a while I kept on using v5 just so I could make progress.
However you have the advantage of working in an organisation with folks around you using rails, so your key "learning resource" will be your peers, That's why that step 6 is important if you are building a GDS project.
If it's a hobby weekend project then 🤷🏻 perhaps factor in what there are good blogs on too.
Hope that helps, and hope that helps explain how you'd answer that question as much as gives you a lead on which actual version to run!
As a first step, I'd like to have an MVC skeleton set up for a Rails Application as a sort of initial 'bed' for this project.
WHAT
A standard Rails MVC structure
WHY
So I get the basics down for a simple Rails application utilising the Rails framework's generator feature.
Acceptance Criteria