I hereby claim:
- I am prathamesh-sonpatki on github.
- I am prathamesh (https://keybase.io/prathamesh) on keybase.
- I have a public key whose fingerprint is 887C F911 F763 FB4F BFB4 47AE 8B90 F6B8 9E2B CB71
To claim this, I am signing this object:
App.chat = App.cable.subscriptions.create("ChatChannel", { | |
connected: function() { | |
// Called when the subscription is ready for use on the server | |
}, | |
disconnected: function() { | |
// Called when the subscription has been terminated by the server | |
}, | |
received: function(data) { |
App.chat = App.cable.subscriptions.create "ChatChannel", | |
connected: -> | |
# Called when the subscription is ready for use on the server | |
disconnected: -> | |
# Called when the subscription has been terminated by the server | |
received: (data) -> | |
# Called when there's incoming data on the websocket for this channel |
I hereby claim:
To claim this, I am signing this object:
# Action Cable uses Redis by default to administer connections, channels, and sending/receiving messages over the WebSocket. | |
production: | |
adapter: redis | |
url: redis://localhost:6379/1 | |
development: | |
adapter: async | |
test: | |
adapter: async |
$ rails s | |
=> Booting Thin | |
=> Rails 5.0.0.beta2 application starting in development on http://localhost:3000 | |
=> Run `rails server -h` for more startup options | |
=> Ctrl-C to shutdown server | |
I am getting reloaded | |
Thin web server (v1.6.2 codename Doc Brown) | |
Maximum connections set to 1024 | |
Listening on localhost:3000, CTRL+C to stop |
prathamesh ~/Projects/reproductions/cache_key_app 2.3.0 | |
$ rails s | |
=> Booting Thin | |
=> Rails 5.0.0.beta2 application starting in development on http://localhost:3000 | |
=> Run `rails server -h` for more startup options | |
=> Ctrl-C to shutdown server | |
I am getting reloaded | |
Thin web server (v1.6.2 codename Doc Brown) | |
Maximum connections set to 1024 | |
Listening on localhost:3000, CTRL+C to stop |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
/home/vagrant/.rvm/rubies/ruby-2.2.3/bin/ruby -r ./siteconf20160124-17861-92m5je.rb extconf.rb | |
checking for pg_config... no | |
No pg_config... trying anyway. If building fails, please try again with | |
--with-pg-config=/path/to/pg_config | |
checking for libpq-fe.h... no | |
Can't find the 'libpq-fe.h header | |
*** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary |
.........rake aborted! | |
ActiveRecord::ConnectionNotEstablished: No connection pool for ActiveRecord::InternalMetadata | |
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:878:in `retrieve_connection' | |
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/connection_handling.rb:113:in `retrieve_connection' | |
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/connection_handling.rb:87:in `connection' | |
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/internal_metadata.rb:30:in `block in table_exists?' | |
/Users/prathamesh/Projects/sources/rails/activesupport/lib/active_support/deprecation/reporting.rb:34:in `silence' | |
/Users/prathamesh/Projects/sources/rails/activesupport/lib/active_support/deprecation/instance_delegator.rb:19:in `silence' | |
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/internal_metadata.rb:30:in `table_exists?' | |
/Users/prathamesh/Projects/sources/rails/a |
require File.expand_path('../boot', __FILE__) | |
require "rails" | |
# Pick the frameworks you want: | |
require "active_model/railtie" | |
require "active_job/railtie" | |
# require "active_record/railtie" | |
require "action_controller/railtie" | |
require "action_mailer/railtie" | |
require "action_view/railtie" |
#<Arel::SelectManager:0x007fcc66365c88 @ctx=#<Arel::Nodes::SelectCore:0x007fcc66365be8 @source=#<Arel::Nodes::JoinSource:0x007fcc66365b70 @left=#<Arel::Table:0x007fcc663ff900 @name="profiles", @columns=nil, @aliases=[], @type_caster=#<ActiveRecord::TypeCaster::Map:0x007fcc663ffa18 @types=Profile (call 'Profile.connection' to establish a connection)>, @table_alias=nil>, @right=[]>, @top=nil, @set_quantifier=nil, @projections=[#<struct Arel::Attributes::Attribute relation=#<Arel::Table:0x007fcc663ff900 @name="profiles", @columns=nil, @aliases=[], @type_caster=#<ActiveRecord::TypeCaster::Map:0x007fcc663ffa18 @types=Profile (call 'Profile.connection' to establish a connection)>, @table_alias=nil>, name="*">], @wheres=[#<Arel::Nodes::And:0x007fcc663653c8 @children=[#<Arel::Nodes::Equality:0x007fcc66365e40 @left=#<struct Arel::Attributes::Attribute relation=#<Arel::Table:0x007fcc66366868 @name="settings", @columns=nil, @aliases=[], @type_caster=#<ActiveRecord::TypeCaster::Connection:0x007fcc663668b8 @klass=Profile |