Archive for 'Views'

Facebook Share and Like Button Customization Issues

My goal was to get a customized Facebook Like button working. Our designer gave us a mockup of a Facebook button which didn’t have the word Like in it, no counter or anything else except the f in a rounded-corner box Facebook logo. It was very difficult to customize it since code you insert into […]

Multiline Comments in Rails ERB Views

If you want to add multiline comments to your Rails .html.erb Views do the following. The =begin and =end need to be at the beginning of the lines for it to work! Also, you cannot have any ERB code in the =begin and =end blocks, if you comment this way. If you want to comment […]