Re: [Rails] Asset pipeline and jQuery scope

2013-05-09 Thread buyzlots
good to hear! Curious what was the issue? Matt On May 9, 2013, at 9:17 PM, Dave Castellano wrote: > Solved! > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe fro

Re: [Rails] Asset pipeline and jQuery scope

2013-05-08 Thread buyzlots
also, could you create gist with your code? gist.github.com Matt On May 8, 2013, at 3:27 PM, buyzlots wrote: > Your coffeeScript looks fine, I don't think that error is in reference to > that as your coffee references '#big_image' and not 'big_image_div' what is > 'big_image_div'? > On May 8

Re: [Rails] Asset pipeline and jQuery scope

2013-05-08 Thread buyzlots
Your coffeeScript looks fine, I don't think that error is in reference to that as your coffee references '#big_image' and not 'big_image_div' what is 'big_image_div'? On May 8, 2013, at 1:22 PM, Dave Castellano wrote: > Hi, > I'm an amateur learning Rails, and having trouble understanding how

[Rails] Asset pipeline and jQuery scope

2013-05-08 Thread Dave Castellano
Hi, I'm an amateur learning Rails, and having trouble understanding how to include different jQuery selectors in the same scope since Rails 3. eg How do I include $('#big_image'), which is on the same page as $('#little_image'), in the scope of of the following? questions.js.coffee: $('#little_