I hereby claim:
- I am tugboat on github.
- I am wschroer (https://keybase.io/wschroer) on keybase.
- I have a public key whose fingerprint is CD04 E785 6F9E BC21 2180 4253 1D18 7E6C CACA B098
To claim this, I am signing this object:
Fri Nov 1 15:43:44 UTC 2019 |
I hereby claim:
To claim this, I am signing this object:
var tree = { | |
a : {value : "This is node A", parent : ""}, | |
b : {value : "This is node B", parent : "a"}, | |
c : {value : "This is node C", parent : "a"}, | |
d : {value : "This is node D", parent : "c"}, | |
e : {value : "This is node E", parent : "c"}, | |
f : {value : "This is node F", parent : "c"} | |
} | |
# pakyow-auth.rb | |
module Pakyow | |
module Auth | |
def self.included(obj) | |
if defined?(DataMapper) | |
require 'pakyow-auth/orm/datamapper/user' | |
require 'pakyow-auth/orm/datamapper/session' |
# Here is the latest way I have this implemented | |
# I have tried many other things to try and get the magical combo | |
# I want to be able to include this in my model by doing: | |
# include Pakyow::Auth::UserMethods | |
# Or something like that. I'm not having much luck. | |
module Pakyow | |
module Auth | |
module UserMethods | |
include DataMapper::Resource |
The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this screencast if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
Fork the Project | |
rvm trust rvmrc | |
gem install bundler | |
bundle install | |
cp config/examples/app_config.yml config/app_config.yml |