Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

75%
+4 −0
Meta What questions are we most urgently missing?

I've had (and likely will still have) beginner-level problems in learning Ruby and/or Rails. something about... When I've run into problems so far, I didn't have a good-enough understanding to ...

posted 6mo ago by Monica Cellio‭

Answer
#1: Initial revision by user avatar Monica Cellio‭ · 2026-03-09T00:20:06Z (6 months ago)
I've had (and likely will still have) beginner-level problems in learning Ruby and/or Rails.

<details>
<summary>something about...</summary>
When I've run into problems so far, I didn't have a good-enough understanding to be able to form a proper question, and instead got help from other developers in the project.  So I'm afraid my list is going to be mostly "something about X" rather than real titles.

- Something about scoping and the `unscoped` keyword.

- Something about nil-safe references.  I can stick a `&` on the end of everything that could be nil in function calls like `something&.function()`, where calling `function()` on nil emits an error, but I *probably* shouldn't just be sprinkling `&`s through my code just in case, right?  But what *should* I be doing?

- This might sound dumb, but in view code, it took me a while to notice (and thus get) the difference between `<% ruby code %>` and `<%= ruby code %>`.

- Our project uses the MVC pattern but there are also helpers (in `app/helpers`, alongside `app/view` etc).  How are those tied in to the rest of the code?  I usually run into this by starting from a view, trying to track behavior back to the controller, and coming up empty in the controller.

- Something about database migrations versus maintenance tasks -- if I need to move some data, when should I prefer which?

</details>