Giter Club home page Giter Club logo

beaconcontrol's People

Contributors

botmonster avatar btolarz avatar eraden avatar jkurdel avatar tsumanu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

beaconcontrol's Issues

Eddystone

I need a help, I have an ibeacon and eddystone company, how can I register an eddystone url on the platform (beaconcontrol)?

Question

I Think this is not the issue, I tried installing the app on Mac OSX, but always getting the error Could not find activesupport-4.2.0 in any of the sources lot of message present the missing gems. Is it unable to installing on Mac?

SAAS format

I need a help, I have an ibeacon and eddystone company, I liked the platform, I would like to know if it has, for example, deploy to my server and work in saas format, where on my platform (beaconcontrol) will have several registered clients and Several beacons.
Can you do this, set it up this way?

[Question]Using custom map

Hello everyone,
I installed the BeaconControl backend and really liked it. But after some playing around I found no easy way to configure the map. I would like to use a custom map of a shopping mall in the background to place the beacons there. Is there an easy way in the configuration files which I have overlooked?

Best
Sebastian

Outline of the next release

Is the new updates coming up? Does anyone have an outline of what it will be included in the next update? as we would also like to participate in it and make sure we don't duplicate the work.

No such file or directory @ rb_sysopen - tmp/pids/sidekiq.pid

I've been following the Readme to start up a BeaconCtrl server and it almost starts, but for the following error

15:28:25 web.1    | started with pid 84848
15:28:25 worker.1 | started with pid 84849
15:28:27 worker.1 | No such file or directory @ rb_sysopen - /Users/davesag/src/BeaconCtrl/tmp/pids/sidekiq.pid
15:28:27 worker.1 | /Users/davesag/.rvm/gems/ruby-2.2.2/gems/sidekiq-3.3.0/lib/sidekiq/cli.rb:347:in `initialize'
15:28:27 worker.1 | /Users/davesag/.rvm/gems/ruby-2.2.2/gems/sidekiq-3.3.0/lib/sidekiq/cli.rb:347:in `open'
15:28:27 worker.1 | /Users/davesag/.rvm/gems/ruby-2.2.2/gems/sidekiq-3.3.0/lib/sidekiq/cli.rb:347:in `write_pid'
15:28:27 worker.1 | /Users/davesag/.rvm/gems/ruby-2.2.2/gems/sidekiq-3.3.0/lib/sidekiq/cli.rb:42:in `parse'
15:28:27 worker.1 | /Users/davesag/.rvm/gems/ruby-2.2.2/gems/sidekiq-3.3.0/bin/sidekiq:7:in `<top (required)>'
15:28:27 worker.1 | /Users/davesag/.rvm/gems/ruby-2.2.2/bin/sidekiq:23:in `load'
15:28:27 worker.1 | /Users/davesag/.rvm/gems/ruby-2.2.2/bin/sidekiq:23:in `<main>'
15:28:27 worker.1 | /Users/davesag/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval'
15:28:27 worker.1 | /Users/davesag/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'
15:28:27 worker.1 | exited with code 1
15:28:27 system   | sending SIGTERM to all processes
15:28:27 web.1    | terminated by SIGTERM

Any thoughts?

Cheers Dave

Cannot upload coupon image through s2s API

I am having problems uploading images through the s2s API (https://beaconcontrol.io/dev/backend/s2s_api_docs_v1/activities.html).

The documentation states the following:

"image_attributes": {
"id": 1,
"type": "image",
"file": FILE
}

I am sending the file encoded as base64, and in the server logs I can see that it is received as I see the encoded image data. As a note, I am sending the image data as follows:

"file": "iVBORw0KGgoAAAANSUhEUgAAAF8AA...."

There is, however something wrong as the server log shows file to be null as in the following example:

[DEBUG] SQL (0.5ms) INSERT INTO "coupon_images" ("file", "type", "coupon_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["file", nil], ["type", "image"], ["coupon_id", 106], ["created_at", "2016-12-26 13:50:40.212766"], ["updated_at", "2016-12-26 13:50:40.212766"]]

What am I doing wrong?

Thank you and best regards,

Humberto

How to install beaconcontrol

I'm familiar with installing various application but I'm new to rubyonrails installation. The installation steps is not clear to me. Can you guide me on how to install beaconcontrol via shell on ubuntu or centos? Many thank in advance.

s2s api : how to create a user without using the UI

Hi!

Am trying to use the s2s api to create applications for now, As i understood from the docs we need access_token to authenticate the request which it can be fetched from this api /s2s_api/v1/oauth/token however i need to create the user using the UI first and wondering if this can be done through the api.

Retrofit 1.9 Compatibility

Currently this SDK does not support Retrofit 1.9 as its using 2.0.0 beta 1.

Can we create a backwards compatible branch?

The `branch` option for `gem 'simple_form'` is not allowed when deploye to heroku

Hallo..
i have an error when deployin to heroku, here the log

-----> Ruby app detected
-----> Compiling Ruby/Rails
sh: 1: git://github.com/josevalim/inherited_resources.git: not found
sh: 1: bundle: not found
sh: 1: https: not found
sh: 1: Gemfile: not found
sh: 1: branch: not found
ERROR: While executing gem ... (Gem::CommandLineError)
Unknown command simple_form
!
! There was an error parsing your Gemfile, we cannot continue
! The git source git://github.com/josevalim/inherited_resources.git uses the git protocol, which transmits data without encryption. Disable this warning with bundle config git.allow_insecure true, or switch to the https protocol to keep your data secure.
!
! [!] There was an error parsing Gemfile: The branch option for gem 'simple_form' is not allowed. Only gems with a git source can specify a branch. Bundler cannot continue.
!
! # from /tmp/build_48e093313f41b2058ebdcca1b884f573/upnext-BeaconControl-eca71b6/Gemfile:101
! # -------------------------------------------
! #
! > gem 'simple_form', branch: 'bootstrap-3'
! #
! # -------------------------------------------
!
! Push rejected, failed to compile Ruby app.
! Push failed

When i setup in local i've change the gem into gem 'simple_form' without specify branch.
can u fixed it in repo? or there is another way

Thanks.

Eddystone

Hi,

Is there any implementation of Eddystone beacon ?

Tks,

URL Web or correct port

I already managed to compile in ubuntu 18 but if I open the url of my project I don't see a panel, I only see the project files. Run through a specific port?

S2S Api - Internal Server Error - Converting Circular Structure to Json

I deployed beaconctrl to heroku, with the button you provided (deploy to heroku).
when trying to create a new admin, [POST] /s2s_api/v1/admins
It responds with internal server error (500) saying this "Converting circular structure to json"
with response data: {
registerations: []
}

Issues Adding coupon with image

I am trying a coupon with image consuming the activities api, insert all the information except the image, this is the example of the
Json

{
"activity": {
"scheme": "coupon",
"name": "Prueba Api2Api Coupon 16",
"trigger_attributes": {
"type": "BeaconTrigger",
"event_type": "near",
"zone_ids": [1]
},
"coupon_attributes": {
"name": "Unilever",
"title": "Promoción Unilever",
"description": "Pide un 10% de descuento con este cupón",
"button_label": "",
"button_link": "",
"button_font_color": "",
"button_background_color": "",
"template": "template_2",
"image_attributes": {
"type": "image",
"file": "data:image/jpeg;base64,/...."
}

  }
}

}

please HELP!!

Error on submitting password reset

I used forgot my password to request a reset of my password, the email popped up (again with broken links due to the wrong port) and I reset my password.

On submitting the password reset I got the following error screen

NoMethodError in Admin::PasswordsController#update
undefined method `confirmable' for #<ApplicationConfig:0x007ff094e48478>

Extracted source (around line #37):
35
36
37
38
39


  def confirmable?(resource)
    AppConfig.confirmable && !resource.active_for_authentication?
  end
end

Rails.root: /Users/davesag/src/BeaconCtrl

Application Trace | Framework Trace | Full Trace
app/controllers/admin/passwords_controller.rb:37:in `confirmable?'
app/controllers/admin/passwords_controller.rb:28:in `update_password!'
app/controllers/admin/passwords_controller.rb:19:in `update'
Request

Parameters:

{"utf8"=>"✓",
 "_method"=>"put",
 "authenticity_token"=>"[FILTERED]",
 "admin"=>{"reset_password_token"=>"[FILTERED]",
 "password"=>"[FILTERED]",
 "password_confirmation"=>"[FILTERED]"},
 "commit"=>"Change password"}

beaconcontrol.io platform password

I installed the beaconcontrol.io platform, what is the default password for administrator access, where I can manage users and settings, why if I register after installed, I'm a normal user?

App freezing when deployed in load-balanced setting

Hello,

I am trying to setup BeaconControl in a load-balanced setting. To do so, I "dockerized" the application in three different containers: one for the app, one for sidekiq and one for redis. I deploy sets of these three containers in one virtual machine on the cloud. I have changed the server from WebRick to thin. The database is postgres and it is deployed in another docker container in another virtual machine. I have also put nginx as the proxy / load balancer.

I have done initial tests with 4 VMs in this configuration with good results (1200 events / minute requests to the API). However, I have a problem. After some time, the thin servers in the virtual machine seem to freeze and stop responding. After a while, they unfreeze but at this point they can freeze again very easily.

I have ssh'd into one of the virtual machines where thin had frozen but was working again and used strace -s 99 -ffp (pid) to see the error trace in case it would freeze again, which happened.

What I see is the following:

`[pid 25740] ppoll([{fd=12, events=POLLIN|POLLPRI}], 1, {0, 999940000}, NULL, 8) = 0 (Timeout)
[pid 25740] clock_gettime(CLOCK_MONOTONIC_RAW, {117303, 100765800}) = 0
[pid 25740] clock_gettime(CLOCK_MONOTONIC_RAW, {117303, 100850300}) = 0
[pid 25740] clock_gettime(CLOCK_MONOTONIC_RAW, {117303, 100927600}) = 0
[pid 25740] clock_gettime(CLOCK_MONOTONIC, {117303, 107380552}) = 0
[pid 25740] ppoll([{fd=12, events=POLLIN|POLLPRI}], 1, {0, 999923000}, NULL, 8) = 1 ([{fd=12, revents=POLLIN}], left {0, 166821281})
[pid 25740] epoll_wait(12, {{EPOLLIN, {u32=109458896, u64=94502274872784}}}, 4096, 0) = 1
[pid 25740] accept4(13, {sa_family=AF_INET, sin_port=htons(40552), sin_addr=inet_addr("40.112.151.221")}, [16], SOCK_CLOEXEC) = 14
[pid 25740] fcntl(14, F_GETFD) = 0x1 (flags FD_CLOEXEC)
[pid 25740] fcntl(14, F_SETFD, FD_CLOEXEC) = 0
[pid 25740] fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
[pid 25740] fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 25740] setsockopt(14, SOL_TCP, TCP_NODELAY, [1], 4) = 0
[pid 25740] accept4(13, 0x7ffe872f5280, [16], SOCK_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
[pid 25740] accept(13, 0x7ffe872f5280, [16]) = -1 EAGAIN (Resource temporarily unavailable)
[pid 25740] clock_gettime(CLOCK_MONOTONIC_RAW, {117303, 935105800}) = 0
[pid 25740] epoll_ctl(12, EPOLL_CTL_ADD, 14, {EPOLLIN, {u32=96991248, u64=94502262405136}}) = 0
[pid 25740] clock_gettime(CLOCK_MONOTONIC_RAW, {117303, 935203000}) = 0
[pid 25740] clock_gettime(CLOCK_MONOTONIC, {117303, 941658869}) = 0
[pid 25740] ppoll([{fd=12, events=POLLIN|POLLPRI}], 1, {0, 165647000}, NULL, 8) = 1 ([{fd=12, revents=POLLIN}], left {0, 165644900})
[pid 25740] epoll_wait(12, {{EPOLLIN, {u32=96991248, u64=94502262405136}}}, 4096, 0) = 1
[pid 25740] read(14, "GET / HTTP/1.0\r\nHost: backend\r\nConnection: close\r\nUpgrade-Insecure-Requests: 1\r\nUser-Agent: Mozilla"..., 16384) = 1395
[pid 25740] getpeername(14, {sa_family=AF_INET, sin_port=htons(40552), sin_addr=inet_addr("xx.xx.xx.xx")}, [16]) = 0
[pid 25740] stat("/var/www/BeaconControl/public/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 25740] stat("/var/www/BeaconControl/public/.html", 0x7ffe872ef370) = -1 ENOENT (No such file or directory)
[pid 25740] stat("/var/www/BeaconControl/public/index.html", 0x7ffe872ef370) = -1 ENOENT (No such file or directory)
[pid 25740] clock_gettime(CLOCK_MONOTONIC, {117303, 942849266}) = 0
[pid 25740] clock_gettime(CLOCK_REALTIME, {1478135093, 863144723}) = 0
[pid 25740] clock_gettime(CLOCK_REALTIME, {1478135093, 863271823}) = 0
[pid 25740] open("/var/www/BeaconControl/lib/active_record/statement_cache.rb", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 25740] open("/var/www/BeaconControl/vendor/active_record/statement_cache.rb", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 25740] open("/var/www/BeaconControl/app/forms/active_record/statement_cache.rb", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 25740] open("/var/www/BeaconControl/app/validators/active_record/statement_cache.rb", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 25740] open("/var/www/BeaconControl/app/uploaders/active_record/statement_cache.rb", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

[pid 25740] open("/usr/local/bundle/gems/ansi-1.5.0/lib/active_record/statement_cache.rb", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 25740] open("/usr/local/bundle/gems/addressable-2.3.6/lib/active_record/statement_cache.rb", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 25740] open("/usr/local/bundle/gems/activerecord-4.2.0/lib/active_record/statement_cache.rb", O_RDONLY|O_CLOEXEC) = 16
[pid 25740] fstat(16, {st_mode=S_IFREG|0644, st_size=3106, ...}) = 0
[pid 25740] close(16) = 0
[pid 25740] getuid() = 0
[pid 25740] geteuid() = 0
[pid 25740] getgid() = 0
[pid 25740] getegid() = 0
[pid 25740] open("/usr/local/bundle/gems/activerecord-4.2.0/lib/active_record/statement_cache.rb", O_RDONLY|O_CLOEXEC) = 16
[pid 25740] fstat(16, {st_mode=S_IFREG|0644, st_size=3106, ...}) = 0
[pid 25740] ioctl(16, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7ffe872ee2c0) = -1 ENOTTY (Inappropriate ioctl for device)
[pid 25740] read(16, "module ActiveRecord\n\n # Statement cache is used to cache a single statement in order to avoid crea"..., 8192) = 3106
[pid 25740] read(16, "", 8192) = 0
[pid 25740] close(16) = 0
[pid 25740] lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 25740] lstat("/usr/local", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
[pid 25740] lstat("/usr/local/bundle", {st_mode=S_IFDIR|S_ISGID|0777, st_size=4096, ...}) = 0
[pid 25740] lstat("/usr/local/bundle/gems", {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0
[pid 25740] lstat("/usr/local/bundle/gems/activerecord-4.2.0", {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0
[pid 25740] lstat("/usr/local/bundle/gems/activerecord-4.2.0/lib", {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0
[pid 25740] lstat("/usr/local/bundle/gems/activerecord-4.2.0/lib/active_record", {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0
[pid 25740] lstat("/usr/local/bundle/gems/activerecord-4.2.0/lib/active_record/statement_cache.rb", {st_mode=S_IFREG|0644, st_size=3106, ...}) = 0
[pid 25740] sendto(15, "Q\0\0\0\rSELECT 1\0", 14, MSG_NOSIGNAL, NULL, 0) = 14
[pid 25740] poll([{fd=15, events=POLLIN|POLLERR}], 1, 4294967295

`

Curiously, the freezing only seems to happen to the BeaconControl instances that connect via network to the database. As I said previously, in the same VM where the DB container runs I have another instance of BeaconControl (only used for test purposes) and this one does not seem to freeze.

Also, if I restart the docker container with the app, it works again until some time passes and then the same situation repeats.

I am not an expert on Ruby and I would really appreciate if someone can shed some light on this.

Thank you and best regards,

Humberto

Still Actively Maintained?

Wonderful project and great starting point.

But is this still maintained. The last update seems to be April.

Cheers

NoMethodError in BeaconsController#edit

I'm having this error when I try to edit a Beacon on development environment:

undefined method `dwell_time' for #<Trigger:0x007fc5082b56e0>

The stack

activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing'
vendor/gems/beacon_control-dwell_time_extension/app/models/trigger/dwell_time_ext.rb:26:in `set_default_dwell_time'
activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
activesupport (4.2.0) lib/active_support/callbacks.rb:225:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:225:in `block in halting_and_conditional'
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_initialize_callbacks'
activerecord (4.2.0) lib/active_record/core.rb:283:in `initialize'
activerecord (4.2.0) lib/active_record/inheritance.rb:61:in `new'
activerecord (4.2.0) lib/active_record/inheritance.rb:61:in `new'
activerecord (4.2.0) lib/active_record/reflection.rb:131:in `build_association'
activerecord (4.2.0) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.2.0) lib/active_record/associations/has_many_through_association.rb:120:in `build_record'
activerecord (4.2.0) lib/active_record/associations/collection_association.rb:136:in `build'
activerecord (4.2.0) lib/active_record/associations/collection_proxy.rb:254:in `build'
activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `block in halting_and_conditional'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.6.4) lib/rack/etag.rb:24:in `call'
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
rack (1.6.4) lib/rack/head.rb:13:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:18:in `middleware_call'
web-console (2.0.0) lib/action_dispatch/debug_exceptions.rb:13:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.0) lib/rails/rack/logger.rb:22:in `call'
quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
railties (4.2.0) lib/rails/engine.rb:518:in `call'
railties (4.2.0) lib/rails/application.rb:164:in `call'
rack (1.6.4) lib/rack/lock.rb:17:in `call'
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
/usr/local/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
/usr/local/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
/usr/local/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'

.

.

Can't connect to local MySQL serve

hi
i got this problem can not connect mysql but uesr and pass in true ;

Mysql2 [Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)]
screen shot 1396-05-29 at 09 40 59

GCM/FCM notifications

Is it still maintained? If yes I would like to contribute code for GCM notifications (currently only APNS code is complete and GCM code is not finished).

Please let me know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.