Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "The update_attributes call then takes the rest of the parameters from the request and applies them to this record."

A block of code is set as follows:

<div class="toolbar">
   <% if SyncEngine::logged_in > 0 %>
      <div class="leftItem blueButton">
         <a href="<%= url_for :controller => :Settings, :action => :

When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be shown in bold:

<div class="rightItem regularButton">
<a class="flip" href="<%= url_for :controller => :Settings, :action => :logout %>">Logout</a>
</div

Any command-line input or output is written as follows:

sudo apt-get install ruby1.9.1-full

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "run the executable file and click Next".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.