Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Lukas Svoboda's Profile

GitHub User: lksv

Comments by Lukas Svoboda

Avatar

By STI you are extending the the parent eg. all validations are inherited. I think that there is not simple way how to override validation.

Avatar

Thanks for this episode.
In the scrolling test case, I didn't catch how it works under the hood. As I understand it correct, the content "Order #11" is not present immediately after calling page.evaluate_script("window.scrollTo(0, document.height)").
Does this command wait for the content? If so, how should I test that message "Fetching more orders..." is showed (just for a while)?

Avatar

Found nvd3 which seems pretty nice.
Quite interesting should also be Dimensional Charting Javascript Library.