RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: sarchak
As per the comments above I tried doing that and @collection.fetch({reset:true})
But for some reason I keep getting this error Uncaught TypeError: Object triggered has no method 'call'
Also I am using rails 4.
Let me know if I am missing something.
As per the comments above I tried doing that and
@collection.fetch({reset:true})
But for some reason I keep getting this error
Uncaught TypeError: Object triggered has no method 'call'
Also I am using rails 4.
Let me know if I am missing something.