Sha256: 1ee48c6bd39db8848d01d07989c0b56dee6ec5b4fa1c21059fc9ae77482b6623
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
# Chartio Rails As a Rails user you're probably familiar with the fact that Rails doesn't not create foreign keys in the database. Since ActiveRecord migrations don't cover this, it makes it very hard to work with Chartio because the metadata around how tables should be joined together only lives at the application layer. Using this gem, you will be able to output the metadata around the relationships in your Rails project and, working with your Chartio Customer Success Engineer, can get the relationships you need for your database. ## Supported Version ### Ruby * 1.9.3 * 2.0.0 * 2.1.0 ### ActiveRecord * >= 3.0.0 ## Installation Add this line to your application's Gemfile: ```ruby group :development do gem 'chartio-rails' end ``` And then execute: $ bundle Or install it yourself as: $ gem install chartio-rails ## Usage $ rake chartio:schema What's outputted is a csv with the needed schema information and a log file. You should package both and email them over to Chartio. ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chartio-rails-0.1.0 | README.md |
chartio-rails-0.0.2 | README.md |