RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: rmagnum2002
Tomaz, thank you very much, pusher is great service, not affiliated to them too :) just used it with a free account and I am pleased.
you are populating the statistics_chart div with data from data-statistics attribute of that div, look in inspect element and you'll see the html5 attribute called data-statistics with an array of hashes inside.
very handy, thank you :)
thank you, somehow it didn't work with filtering, but I used
@medical_consultation.medicine_ids = [] unless params[:medical_consultation][:medicine_ids].present?
directly in update and create action and now it works nice.
thanks Nicolai Seerup.. was facing this problem and you pulled me out.
nice piece of app. I finally get it right. Thanks, I've been looking for this for a month already.
Tomaz, thank you very much, pusher is great service, not affiliated to them too :) just used it with a free account and I am pleased.
you are populating the statistics_chart div with data from data-statistics attribute of that div, look in inspect element and you'll see the html5 attribute called data-statistics with an array of hashes inside.
very handy, thank you :)
thank you, somehow it didn't work with filtering, but I used
@medical_consultation.medicine_ids = [] unless params[:medical_consultation][:medicine_ids].present?
directly in update and create action and now it works nice.
thanks Nicolai Seerup.. was facing this problem and you pulled me out.
nice piece of app. I finally get it right. Thanks, I've been looking for this for a month already.