Use postgreSQL in development
1. Upgrade rails from 4.0.4 to 4.0.5
2. Upgrade pg to 0.17.1
Update .gitignore
Use Flot js library for statement charts.
For more information please refer to http://www.flotcharts.org/
some test code for flot
Rename model QuarterlyReport to Statement (also rename quarterly_reports table)
Modify stocks table:
1. add column: cik
2. set default country to US
3. index cik and set to unique
4. index company_name
Modify database.yml for development
Modify statements' columns
Modify columns of Stock and Statement
Using bigint (8 bytes) instead of default integer (4 bytes) for data columns
Rename period_end_date_of_doc_that_stock_info_parsed_from to fiscal_period_end_date_of_doc_that_stock_info_parsed_from
1. Add new field: statement_link
2. set quarter and gross_profit to allow_nil
update Statement model