trying navigate in the callback function of the post method. still getting post error and still not sure where it's coming from
also added a response to the post function in api routes after save method
realized that url is already on profile page so cannot redirect. passed garden collection into new plant view and fetches updates on create
changed this to that
undid previous changes and am now trying to call the router's function that runs on normal load of profile view
redirect after create is working now. added in code to router to see if we can setup a setInterval for graph so it updates with new data live
added interval for wrong view. corrected it for detailview
the rendered view keeps rendering, but is also kind of annoying. removing functionality and seeing if I can find another way to update view
added set interval so chart should pull data every 4 seconds.
trying to resolve the uncaught syntaxerror
removed the $ from el and comment out the console.log line that was throwing the error
trying to resolve error on setInterval
added an extra set of parenthesis to try to resolve the interval error
added new tweet messages depending on time from last false value. setInterval is throwing unexpected identifier error, but still rendering graph.
Merge branch 'master' of heroku.com:projectlorax

pulling in any changes sam made to the file before pushing back to heroku master
swapped some things around in hopes that the chart will show me a live update. cut up detail view into smaller functions in order to separate charting mechanisms.
Line is an undefined method for barchart. console logging barchart
removed push since it was removing data points from array
console logging data arrays for chart in callback
removed arguments from updateData function, moved reading, redlineVal, and timestamp assignments into updateData, and moved data object into update Data. trying to return data object in greater scope