An incomplete list.
- Emerson's 1812 (many supermarkets)
- Emerson's Bookbinder (good “session” ale)
- Cassel's Best Bitter (from The Brewery)
- Beer Baroness Lady Danger (from Pomeroy's)
module SaveWithErrors | |
def self.prepended(base) | |
base.serialize :record_errors, Hash | |
base.after_validation :assign_errors | |
end | |
def save(*args) | |
super(*args) || save_anyway | |
end |
#!/usr/bin/env bash | |
# Usage: setup-git-bundler-merge-driver | |
# Help: Configures git to use a custom merge driver to resolve Gemfile.lock | |
# merge conflicts. | |
if [ ! -f Gemfile ]; then | |
echo 'No `Gemfile` found! Aborting' | |
exit 1 | |
fi |
<% flash.each do |type, message| %> | |
<div class="alert <%= bootstrap_class_for(type) %> fade in"> | |
<button class="close" data-dismiss="alert">×</button> | |
<%= message %> | |
</div> | |
<% end %> |