RailsCasts Pro episodes are now free!

Learn more or hide this

SergiuR's Profile

GitHub User: rmagnum2002

Comments by SergiuR

Avatar

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.

Avatar

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.

Avatar

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.

Avatar

thanks Nicolai Seerup.. was facing this problem and you pulled me out.

Avatar

nice piece of app. I finally get it right. Thanks, I've been looking for this for a month already.