This code works with the Firebase simple-auth interface. It depends on the following Gemfile:
gem 'ruby_motion_query', :git => 'git@github.com:infinitered/rmq.git'
gem 'motion-firebase'
'motion-firebase',
'motion-firebase-auth',
]
gem 'motion-map'