RailsCasts Pro episodes are now free!

Learn more or hide this

James Chevalier's Profile

GitHub User: JamesChevalier

Site: http://jameschevalier.us

Comments by James Chevalier

Avatar

I handle this by keeping my edits clean, and in place of the existing options. So, rather than putting all of my customizations in one place in the file, they're spread out in the locations where the options originally appeared.

Then, I accept the changes from rails generate foundation:install for the foundation_and_overrides.scss file - allowing it to overwrite my customizations. I handle the difference(s) in git, by staging/committing all the lines that don't affect me & comparing the lines that do affect my customizations.

So far, I've generally been able to discard the changes to application.html.erb - I just take a quick peek at the diff from within the rails generate foundation:install command to be sure.