RailsCasts Pro episodes are now free!

Learn more or hide this

dbkbali's Profile

GitHub User: dbkbali

Comments by dbkbali

Avatar

Great screencast as usual, wondering though the following:

1) This is similar to the approach you showed in the sharing mustache templates screencast, wondering given that it essentially achieves the same objective when you would choose to use this simpler jquery approach vs using mustache template, ie what are the pros and cons of each.

2) any hints how one can test endless scrolling in rspec/capybara integration tests, specifically, any ideas as to how you would simulate a scroll near the bottom in capybara?

Avatar

Found a way to get this working using the stache gem.

Avatar

I really like this screencast but am having problems implementing this because I use haml, besides telling me to switch to erb, is there any advice you can provide about implementation of this with haml. I have googled and there seems to be some suggestions that there are problems with haml, specifically with respect to this issue here https://github.com/nex3/haml/issues/450.