RailsCasts Pro episodes are now free!

Learn more or hide this

OXp1845's Profile

GitHub User: OXp1845

Comments by

Avatar

Solved it...

Had to set jQuery to noConflict(), convert the script to jQuery and add it to a javascript file. Dunno why this happens though...

Avatar

Getting an error on this line (in the coffeescript file)

puts " if ($('.pagination').length) {"

The error message says: Uncaught TypeError: Cannot read property 'length' of null

What could have gone wrong? The div exists in my index :(