refractor the rule controller; extract argument preparation to rule helper
Merge pull request #70 from COSI236TA/integrate

Fixed turbolink error by removing random charts in home/index page
Merge branch 'master' of https://github.com/COSI236TA/Trade_Assistant
improve rule show; add detailed last triggered information
improve portfolio show
Merge pull request #71 from COSI236TA/wenbin

Wenbin
remove turbo link
clean precompiled assets
Merge pull request #72 from COSI236TA/wenbin

Wenbin
Fix bug in drawing multiple stocks
---
1. Cause: the previous one will check wether the data of the stock is of
the length of 253; however, in some cases, yahoo api would not return
enough history data; thus when all return data is less then 253 days,
the chart will be empty;
2. Solution: remove the check is enough. Even though some stocks like
GOOG would only have 30 days of data, it's still ok to show on the
chart.
Merge pull request #73 from COSI236TA/wenbin

Fix bug in drawing multiple stocks
Merge remote-tracking branch 'origin/master' into integrate

Conflicts:
	app/assets/javascripts/createchart.js
Merge branch 'integrate'
Fixed portfolio bug