I hereby claim:
- I am arjan0307 on github.
- I am arjan0307 (https://keybase.io/arjan0307) on keybase.
- I have a public key ASC0c_bAcqnh3EKwXUxMfT7a8n5WLVt2j7Bi7aaGzZ5tPgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
window.CO2M ||= {} | |
window.CO2M.UTIL = | |
_defineProperty: (obj, key, value) -> | |
if key of obj | |
Object.defineProperty obj, key, | |
value: value | |
enumerable: true | |
configurable: true | |
writable: true | |
else |
export MASTER_URL=$DATABASE_URL |
class window.KittenManager | |
actions: | |
hunting: | |
state: false | |
time_interval: null | |
parchmenting: | |
state: false | |
time_interval: null | |
manuscripting: | |
state: false |
/vendor/ruby-2.1.2/lib/ruby/2.1.0/uri/common.rb:125 in "===" | |
/vendor/ruby-2.1.2/lib/ruby/2.1.0/uri/common.rb:125 in "split" | |
/vendor/ruby-2.1.2/lib/ruby/2.1.0/uri/common.rb:211 in "parse" | |
/vendor/ruby-2.1.2/lib/ruby/2.1.0/uri/common.rb:747 in "parse" | |
/vendor/bundle/ruby/2.1.0/gems/carrierwave_direct-0.0.14/lib/carrierwave_direct/uploader.rb:64 in "key" | |
/vendor/bundle/ruby/2.1.0/gems/carrierwave_direct-0.0.14/lib/carrierwave_direct/uploader.rb:81 in "has_key?" | |
/vendor/bundle/ruby/2.1.0/gems/carrierwave_direct-0.0.14/lib/carrierwave_direct/mount.rb:33 in "has_upload_upload?" | |
/app/models/document.rb:27 in "set_name" | |
/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7.1/lib/active_support/callbacks.rb:424 in "block in make_lambda" | |
/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7.1/lib/active_support/callbacks.rb:160 in "call" |
<% if namespaced? -%> | |
require_dependency "<%= namespaced_path %>/application_controller" | |
<% end -%> | |
<% module_namespacing do -%> | |
class <%= class_name %>Controller < CustomController | |
<% actions.each do |action| -%> | |
def <%= action %> | |
end | |
<%= "\n" unless action == actions.last -%> |
class ApplicationController < ActionController::Base | |
protect_from_forgery | |
layout :ingame, only: :ingame? | |
before_filter :authenticate_user!, only: :ingame? | |
check_authorization if: :ingame? | |
def ingame? | |
is_a?(IngameController) || (is_a?(RegistrationsController) && ['edit', 'update'].include?(action_name)) | |
end |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/> | |
<script src="http://cmx.io/v/0.1/cmx.js"></script> | |
<body> | |
<scene id="scene1"> | |
<label t="translate(0,346)"> | |
<tspan x="0" y="0em">One lazy evening...</tspan> | |
</label> | |
<actor t="translate(131,49)" pose="-11,9|-12,135|-10,96|-6,85|-9,72|-11,59|-16,34|-21,9|-6,34|-1,9|42,102|45,140|-56,108|-50,134"> |
config.action_mailer.delivery_method = :smtp | |
config.action_mailer.smtp_settings = { | |
:address => "smtp.gmail.com", | |
:port => 587, | |
:domain => 'gmail.com', | |
:user_name => 'ommitted!', | |
:password => 'ommitted!', | |
:authentication => 'plain', | |
:enable_starttls_auto => true | |
} |
# How to get just the comment routes, and not the post routes | |
resources :posts do | |
resources :comments | |
end |