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
belongs_to :reservation | |
belongs_to :user | |
attr_accessible :reservation_id, :user_id |
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 'rails/all' | |
require 'squeel' | |
require 'active_record/connection_adapters/postgis_adapter/railtie' |
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("web/static/js/logging.js"); | |
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | |
}); | |
;require.register("web/static/js/logging.js", function(exports, require, module) { | |
"use strict"; | |
console.log("Logs to the console"); | |
}); |
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
------------------------------- | |
The code for the contact form | |
------------------------------- | |
<div id='contact-box' class="group"> | |
<div class="span6 clear"> | |
<form action="/" method="post" class="well"> | |
<label for="name">Your Name:</label> | |
<input type="text" name="name" class="span4" placeholder="John Smith..."> | |
<label for="email">Your email address:</label> |
This file has been truncated, but you can view the full file.
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
12006 silly decomposeActions build core-util-is@https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz | |
12007 silly decomposeActions install core-util-is@https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz | |
12008 silly decomposeActions postinstall core-util-is@https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz | |
12009 silly decomposeActions finalize core-util-is@https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz | |
12010 silly decomposeActions refresh-package-json core-util-is@https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz | |
12011 silly decomposeActions fetch create-ecdh@https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz | |
12012 silly decomposeActions extract create-ecdh@https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz | |
12013 silly decomposeActions preinstall create-ecdh@https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz | |
12014 silly decomposeActions build create-ecdh@https://registry.npmjs.org/create-ecdh/-/create-e |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/Cellar/node/8.1.0_1/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'install' ] | |
2 info using npm@5.0.3 | |
3 info using node@v8.1.0 | |
4 verbose npm-session 6ff218f68cdf657a | |
5 silly install runPreinstallTopLevelLifecycles | |
6 silly preinstall assets | |
7 info lifecycle @~preinstall: @ |
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
$palettes: ( | |
black: ( | |
lightest: hsl(0, 0%, 40%), | |
lighter: hsl(0, 0%, 35%), | |
light: hsl(0, 0%, 30%), | |
base: hsl(0, 0%, 25%), | |
dark: hsl(0, 0%, 20%), | |
darker: hsl(0, 0%, 15%), | |
darkest: hsl(0, 0%, 10%) | |
), |
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
class RegistrationsController < Devise::RegistrationsController | |
def create | |
build_resource | |
if resource.save | |
if resource.active_for_authentication? | |
set_flash_message :notice, :signed_up if is_navigational_format? | |
sign_in(resource_name, resource) | |
respond_with resource, :location => after_sign_up_path_for(resource) |
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
I have tested the elixir version and it works, but have not tested the erlang version of this code. |
OlderNewer