Update ruby and rails versions.

Lock rails and rack versions in Gemfile at 4.1.1 and 1.5.2 respectively.
The haml gem seems to not work with rails 4.1.1 and I wanted to migrate
the views to standard erb anyway so that is also gone.  Update bootstrap
gem to use version 3.
Adjust config files for new Rails 4 options.

Various config options are no longer available in Rails 4 and some new
ones have been added.  Active record sessions are now managed in a gem.
Run the default generator for rails-bootstrap gem.

Install the less Bootstrap styles using 'rails generate bootstrap:install
less'.
Updated db/schema.rb

Rails has updated sb/schema.rb after rake db:create and db:migrate.
Convert views from haml to erb.

Initial conversion of views from haml to erb.
Add block to default_scope.

Rails 4 requires default_scope to use a block.
Remove attr_accessible from User model.

Rails 4 no longer supports the attr_accessible method of parameter
protection.  Use controller methods to implement Rails 4 "Strong
Parameters"
http://edgeapi.rubyonrails.org/classes/ActionController/StrongParameters.html
Remove attr_accessible from blog_post model.

Rails 4 no longer supports the attr_accessible method of parameter
protection.  Use controller methods to implement Rails 4 "Strong
Parameters"
http://edgeapi.rubyonrails.org/classes/ActionController/StrongParameters.html
Add assets needed for Bootstrap 3.

Add gems bootstrap-sass and coffee-script to Gemfile needed for
Bootstrap 3.
Fix schema.org attributes in erb templates.

Fix schema.org attributes which were not converted correctly from the
haml templates.  These schema.org attributes are used for marking up
html pages for seo purposes.
Update bcrypt-ruby gem.

Update the bcrypt-ruby gem to 3.1.5 needed to resolve the error:
NoMethodError: undefined method `cost' for BCrypt::Engine:Class which
was seen when creating a new user object.
Remove attr_accessible from category model.

attr_accessible now deprecated in Rails 4 in favor of Strong Parameters
implemented in the controller.
Fix top nav link css.

Fix top nav link css which broke during haml to erb migration.
Set default BCrypt cost to 12 for has_secure_password.
Fix nav link css.

Fix top nav link cs in abridged layout.  This was broken in haml to erb
conversion.
Remove attr_accessible from attachemnt and image.

Remove attr_accessible from blog_attachement and blog_image classes.
This is deprecated in Rails 4 in favor of Strong Parameters.
Use Strong Parameters in category controller.

Modify the categories controller to use Rails 4 Strong Parameters
convention when creating and editing new categories.
Update application layout to use bootstrap 3.

Update the application layout to use new bootstrap 3 components and
styles.  Add a main link to the top nav if signed in.  This is to make
the top nav consistent throughout the application if a user is signed
in.
Update blog post partial for bootstrap 3.

Update the blog post partial _blog_post to work with the new styles in
bootstrap 3.  Modify the application layout to yield and display the
blog post content.
Update blog post show view for new bootstrap css.

Update the show view for blog posts with new css classes used for the
chosen bootstrap 3 theme.