I hereby claim:
- I am imajes on github.
- I am imajes (https://keybase.io/imajes) on keybase.
- I have a public key whose fingerprint is BF0D A9F4 956B 955B FC4D 9B2F 12A3 0FC2 9D04 5EF5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Given these relationships:
User
has_many :queue_items
has_many :things, through: :queue_items
QueueItem| module CMS::Orderable | |
| extend ActiveSupport::Concern | |
| def order_scope | |
| if self.class.order_scope && (scoped = send(self.class.order_scope)) | |
| scoped.send(self.class.model_name.collection) | |
| else | |
| self.class | |
| end | |
| end |
| def calculate(str) | |
| end | |
| calculate("4+5") # 9 | |
| calculate("10+8+2") # 20 | |
| calculate("10-5") # 5 | |
| calculate("10+2-4") # 8 |
| [ 0] "/Users/james/.rvm/gems/ruby-2.1.2@quill/gems/byebug-3.4.0/lib/byebug/command.rb:41:in `eval'", | |
| [ 1] "/Users/james/.rvm/gems/ruby-2.1.2@quill/gems/byebug-3.4.0/lib/byebug/command.rb:41:in `bb_warning_eval'", | |
| [ 2] "/Users/james/.rvm/gems/ruby-2.1.2@quill/gems/byebug-3.4.0/lib/byebug/commands/eval.rb:36:in `block in execute'", | |
| [ 3] "/Users/james/.rvm/gems/ruby-2.1.2@quill/gems/byebug-3.4.0/lib/byebug/commands/eval.rb:11:in `run_with_binding'", | |
| [ 4] "/Users/james/.rvm/gems/ruby-2.1.2@quill/gems/byebug-3.4.0/lib/byebug/commands/eval.rb:32:in `execute'", | |
| [ 5] "/Users/james/.rvm/gems/ruby-2.1.2@quill/gems/byebug-3.4.0/lib/byebug/processors/command_processor.rb:200:in `one_unknown_cmd'", | |
| [ 6] "/Users/james/.rvm/gems/ruby-2.1.2@quill/gems/byebug-3.4.0/lib/byebug/processors/command_processor.rb:208:in `one_cmd'", | |
| [ 7] "/Users/james/.rvm/gems/ruby-2.1.2@quill/gems/byebug-3.4.0/lib/byebug/processors/command_processor.rb:187:in `block in process_commands'", | |
| [ 8] "/Users/james/.rvm |
| class StoriesController < ActivityController | |
| def module | |
| show_story | |
| end | |
| def homepage | |
| load_record | |
| show_story | |
| end |
| // Code will instantiate putting everyone in segment L. Mobile check will put users into I; zip code check will put people into seg A if in Chicago, | |
| // Iteration 2 - Windy City pilot with MSA tracking | |
| // Seg A - Outside of Windy City | |
| // Seg B - blank seg | |
| // Seg C - Windy City test area (carrover of previous seg C) | |
| // Seg D = mobile users | |
| // Seg E = technical issues |
| class Quill::BaseModel | |
| include ActiveModel::Model | |
| attr_accessor :id, :access_token | |
| def self.special_attrs *attrs | |
| return @special_attrs unless attrs.any? | |
| @special_attrs = attrs | |
| end | |
| def self.inherited subclass |
| module Quill | |
| class Client | |
| module Transport | |
| class InvalidKeys < Exception ; end | |
| attr_accessor :token, :client, :config | |
| delegate :get, :post, :put, to: :token | |
| include EndpointDefinitions | |
| def initialize options = {} |
| class Quill::BaseModel | |
| include ActiveModel::Model | |
| attr_accessor :id, :access_token | |
| def self.special_attrs *attrs | |
| return @special_attrs unless attrs.any? | |
| @special_attrs = attrs | |
| end | |
| def self.inherited subclass |