This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title><%= content_for?(:title) ? yield(:title) : "Rails3 Mongoid Devise" %></title> | |
<meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Rails3 Mongoid Devise" %>"> | |
<%= stylesheet_link_tag "application", :media => "all" %> | |
<%= javascript_include_tag "application" %> | |
<%= csrf_meta_tags %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! | |
%head | |
%title= content_for?(:title) ? yield(:title) : I18n.t("site_title") | |
%meta{:name => "description", :content=> "#{ content_for?(:description) ? yield(:description) : (I18n.t "site_description")}"} | |
%meta{:charset => "utf-8"} | |
%meta{:author => "John Lockwood"} | |
=stylesheet_link_tag "application", :media => "all" | |
=javascript_include_tag "application" | |
=csrf_meta_tags | |
= yield(:head) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use rake --tasks | grep git for a list | |
# The most useful is rake git:checkin, which is essentially add + commit + message + push. | |
namespace :git do | |
desc "Run ssh-add to enter password for your ssh key a single time" | |
task :setup do | |
sh "ssh-add" | |
end |
NewerOlder