|
Any recommended modern Ruby and/or Rails guides? Gotta learn Ruby and Rails for a possible job! And I need to work! I know how to program, so something akin to K&R would be nice, unless the reference book Matz wrote like 12 years ago is still good? Seems like everything that was written was 10+ years ago...but new versions of the language are out, so uhh...there has to be updates, right?! Thank you much
|
# ¿ Jun 21, 2021 05:33 |
|
|
# ¿ May 10, 2024 00:08 |
|
The Milkman posted:As long as it covers Ruby 2.0+ you should be fine. And even then there's not THAT huge of a difference. Why's Poignant Guide was old when I got into Ruby and I'm sure it's still a good reference. Awesome, I’ll take a look at all these! Thank you much!
|
# ¿ Jun 22, 2021 05:37 |
|
Seeking: buddy to talk nerdy to me about Rails/Ruby. Started hardcore diving into it this past weekend and I think I'm getting it, but still learnin'! Slide into my DMs tyvm <3
|
# ¿ Jul 1, 2021 03:00 |
|
I can and will do both tyvm sir . I figured out my last issue tho, only took like 4 hours and banging my head lol. Rails is v interesting, learning a shitload just using the official guides! I see how Rails can be v easy, especially if you have web programming experience, it's kind of just wiring a lot of poo poo together. Onward!
|
# ¿ Jul 2, 2021 09:18 |
|
I'm trying to just display a very simple static HTML page. I'm obviously missing something incredibly stupid here. Is the incredibly stupid thing that static pages are required to go into the public folder? In my routes.rb, I have code:
code:
Okay so I have one index.html.erb in app/views/static, as well as another one in app/views, both are displaying different poo poo so I can try and differentiate them. In one index.html.erb: code:
code:
EDIT: Even tried changing the html to this: code:
pliable fucked around with this message at 14:35 on Jul 2, 2021 |
# ¿ Jul 2, 2021 14:31 |
|
|
# ¿ May 10, 2024 00:08 |
|
kayakyakr posted:It was the wrong start script because the app is a React SPA with a rails API, not a traditional rails view app. Yup, this is the problem! I should have just tried it on the hello world app, but I tried using that as a reference to continue figuring out how all this poo poo works for this particular app, not knowing that this app was an API-only app . In the config/application.rb, there is one line that says code:
|
# ¿ Jul 3, 2021 02:52 |