tinogomes / firebase-rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FirebaseRails

### Installation

Add to your Gemfile:

gem 'firebase_rails'

or install from Rubygems:

gem install firebase_rails

Setup

Add an environment variable called FIREBASE_NAME with the name of your firebase database

Usage

Inherit FirebaseBase and list associations and attr_accessors

class FirebaseStock < FirebaseBase
  has_many :transactions
  attr_accessor :symbol, :price
end

About

License:MIT License


Languages

Language:Ruby 84.5%Language:HTML 12.3%Language:CSS 1.7%Language:JavaScript 1.5%