Posted over 8 years ago. Visible to the public.

Weird margin at top of page

If there is some weird margin at the top of your page for no apparent reason, chances are one of your views contains a BOM (Byte Order Mark).

To remove it, open the file with VIM, and type
:set nobomb
:wq

Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Owner of this card:

Avatar
Tobias Kraze
Last edit:
almost 7 years ago
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Tobias Kraze to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more