Add initial navigation bar

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
Redirect from / to breweries

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
Add initial ratings page

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
Add model for ratings

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
Console output for exercise 1

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
List ratings on /ratings
Override the default to_s for rating class

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
Implement average_ratings method

The number of ratings and average ratings is listed on beers show page.

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
User inject to count average_rating

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
Use pluralize to make ratings singular when needed

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
Enable debugger gem
Add form to add ratings
Fixed bug in Rating to_s

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
Use singre quotes instead of double quotes
Add link to creating new ratings to navigation bar

Signed-off-by: Janne Haapsaari <haaja@iki.fi>
Add link to /ratings/new on /ratings page

Signed-off-by: Janne Haapsaari <haaja@iki.fi>