#Programming #Ruby #WebDevelopment
# Summary
Having encountered the OG web framework in the workplace, I am gathering my experiences and expect to launch some ideas with it.
# Useful things I needed to know
- Even if you specify routes and their respective templates, you must explicitly define a method in the controller too, **even if the method body is blank**, or Rails won't render the template.
- `before_action` appears to be *incredibly* useful. ([link](https://guides.rubyonrails.org/action_controller_overview.html#before-action))
- `around_action` is useful for things like I18n
- Also consider `skip_before_action :action unless condition`
- I18N file extensions must be "yml" and never "yaml" (unless explicitly overridden, which is probably not a good idea here)