Three Things I Learned This Week - November 11 2016
- The Rails
date_field helper falls back to just a textbox on Firefox and Safari (and IE?).
- Git maintains an index of remote branches, even those that no longer exist on the remote. You can keep your local branches clean with
git fetch -p (prune). I find pruning helps prevent non-obvious branch name conflicts if you happen to reuse a name that once existed on the remote. Plus, I find just find it satisfying.
- When working in the land of Rails engines, sometimes you need to add a link back to the main application. The syntax for that is
main_app.whatever_path. Likewise, if you want to link to a route within the engine, the syntax is