POST /accounts
account_id
| require 'observer' | |
| class BudgetsConsumer | |
| def self.update(val) | |
| puts "new value from enrollment consumer: #{val}" | |
| end | |
| end | |
| class EnrollmentsConsumer | |
| extend Observable |
| class ConsumerChangesObserver < ActiveRecord::Observer | |
| observe :consumer, :address_record, :consumer_enrollment | |
| def after_update(record) | |
| ConsumerPublisher.publish_change(record) | |
| end | |
| end | |
| class SomeController < FmsController | |
| def some_action |
| module FmsEngine | |
| module Core | |
| class Callbacks | |
| class << self | |
| # Redis or something: | |
| CALLBACK_REGISTRY = Hash.new { |h, k| h[k] = [] } | |
| def bind(event, klass, callback_method, facade_method) | |
| CALLBACK_REGISTRY[event] << { klass: klass, callback_method: callback_method, facade_method: facade_method } | |
| end |
| OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 | |
| debug1: Reading configuration data /home/runner/.ssh/config | |
| debug1: Reading configuration data /etc/ssh/ssh_config | |
| debug1: /etc/ssh/ssh_config line 19: Applying options for * | |
| debug2: ssh_connect: needpriv 0 | |
| debug1: Connecting to annkissam.beanstalkapp.com [50.31.156.72] port 22. | |
| debug1: Connection established. | |
| debug1: identity file /home/runner/.ssh/id_rsa type -1 | |
| debug1: identity file /home/runner/.ssh/id_rsa-cert type -1 | |
| debug1: identity file /home/runner/.ssh/id_dsa type -1 |
| Bitmap Heap Scan on icd_codes (cost=7.63..900.68 rows=10 width=143) | |
| Filter: ((code)::text ~~ 'A1%'::text) | |
| -> Bitmap Index Scan on index_code_on_icd_codes (cost=0.00..7.62 rows=333 width=0) | |
| Index Cond: (((code)::text ~>=~ 'A1'::text) AND ((code)::text ~<~ 'A2'::text)) |
| CREATE INDEX index_description_on_icd_codes ON icd_codes USING gin(to_tsvector(description)) |
| total commits: 192 | |
| 58 Merge | |
| 12 Update | |
| 12 Add | |
| 9 adds | |
| 8 Added | |
| 6 bump | |
| 6 Fix | |
| 4 Still | |
| 4 Fixed |
| // ---- | |
| // Sass (v3.4.13) | |
| // Compass (v1.0.3) | |
| // ---- | |
| map-merge((foo: 1, bar: 2), (baz: 3)); | |
| map-merge(("foo": 1), ("bar": 2)); |
| // ---- | |
| // Sass (v3.4.14) | |
| // Compass (v1.0.3) | |
| // ---- | |
| $positions: ( | |
| backend: "\e83a", | |
| dev: "\e84a", | |
| data: "\e82e", | |
| front: "\e807", |