{{#kitchen}} You remember you already saw the kitchen, but let's take a look at it again. {{/kitchen}}
{{^kitchen}} You never saw the kitchen, you're excited! {{/kitchen}}
{{#kitchen}} You remember you already saw the kitchen, but let's take a look at it again. {{/kitchen}}
{{^kitchen}} You never saw the kitchen, you're excited! {{/kitchen}}
An example story for the gist-txt text adventure engine.
Play this text adventure at http://potomak.github.io/gist-txt/#acebd8fe14942fab4e8e.
More info at https://github.com/potomak/gist-txt.
I hereby claim:
To claim this, I am signing this object:
DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: contacts, additional_infos, groups, users) that are referenced in a string SQL snippet. For exa | |
mple: | |
Post.includes(:comments).where("comments.title = 'foo'") | |
Currently, Active Record recognizes the table in the string, and knows to JOIN the comments table to the query, rather than loading comments in a separate query. However, | |
doing this without writing a full-blown SQL parser is inherently flawed. Since we don't want to write an SQL parser, we are removing this functionality. From now on, you | |
must explicitly tell Active Record when you are referencing a table from a string: | |
Post.includes(:comments).where("comments.title = 'foo'").references(:comments) |
-- accounts | |
-- ======== | |
-- id | |
-- | |
-- pricing_plans | |
-- =========== | |
-- id | |
-- price_in_cents | |
-- |
require 'net/http' | |
require 'json' | |
hash = { 'follow' => 'http://letsrevolutionizetesting.com/challenge?id=47526821' } | |
begin | |
uri = URI(hash['follow']) | |
req = Net::HTTP::Get.new(uri) | |
req['Accept'] = 'application/json' |
[...] | |
npm info build /home/giovanni/.hoodie/cache/my-first-hoodie/node_modules/hoodie-server/node_modules/browserify/node_modules/module-deps | |
npm verb linkStuff [ false, | |
npm verb linkStuff false, | |
npm verb linkStuff false, | |
npm verb linkStuff '/home/giovanni/.hoodie/cache/my-first-hoodie/node_modules/hoodie-server/node_modules/browserify/node_modules' ] | |
npm info linkStuff module-deps@1.3.0 | |
npm verb linkBins module-deps@1.3.0 | |
npm verb link bins [ { 'module-deps': 'cmd.js' }, | |
npm verb link bins '/home/giovanni/.hoodie/cache/my-first-hoodie/node_modules/hoodie-server/node_modules/browserify/node_modules/.bin', |
Online resources
Books