<script type="text/x-handlebars">
<header>..</header>
{{outlet}} <-- this displays the route specific template (Rails: yield)
<footer>..</footer>
This file contains 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 charset="utf-8"> | |
<title>Ember Starter Kit</title> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/2.1.0/normalize.css"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script> | |
<script src="http://builds.emberjs.com/tags/v1.7.0/ember.js"></script> | |
<style id="jsbin-css"> |
This file contains 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
require 'rspec' | |
require 'pry' | |
require_relative "../lib/application" | |
describe 'Event Sourcing' do | |
let(:sf) { Port.new(city: "San Francisco", country: :USA) } | |
let(:la) { Port.new(city: "Los Angeles", country: :USA) } | |
let(:yyv) { Port.new(city: "Vancouver", country: :Canada) } | |
let(:ship) { Ship.new("King Roy") } |
This file contains 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
require 'rspec' | |
require 'pry' | |
require_relative "../lib/application" | |
describe 'Updating the application model' do | |
let(:sf) { Port.new(city: "San Francisco", country: :USA) } | |
let(:la) { Port.new(city: "Los Angeles", country: :USA) } | |
let(:yyv) { Port.new(city: "Vancouver", country: :Canada) } | |
let(:ship) { Ship.new("King Roy") } |
This file contains 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> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
</style> | |
</head> |
This file contains 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> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
</style> | |
</head> |
A Pen by Sebastian Geiger on CodePen.
This file contains 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
FROM ubuntu | |
# Installing ruby 2.0.0-p353 from source | |
RUN apt-get -y update && apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev wget | |
RUN cd /tmp && wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz && tar -xvzf ruby-2.0.0-p353.tar.gz | |
RUN cd /tmp/ruby-2.0.0-p353/ && ./configure --prefix=/usr/local && make && make install | |
#Mentoring
Follow this guide, then we need change some little things.
Create a User.find_by_public_confirmation_token
method.