[Rails] Re: Rails 4 Join table query not working

2014-03-09 Thread mike
On Saturday, March 8, 2014 5:52:41 PM UTC-5, Ruby-Forum.com User wrote: > > Commented out > #include Sprockets::Helpers::RailsHelper > #include Sprockets::Helpers::IsolatedHelper > > in image uploader and solved current problem... for now anyway. > > Dave > > -- > Posted via http://www.

[Rails] Re: Rails 4 Join table query not working

2014-03-08 Thread Dave Castellano
Commented out #include Sprockets::Helpers::RailsHelper #include Sprockets::Helpers::IsolatedHelper in image uploader and solved current problem... for now anyway. Dave -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "R

[Rails] Re: Rails 4 Join table query not working

2014-03-08 Thread Dave Castellano
Yes - below pasted directly from the console... NameError (uninitialized constant Question::Picture): app/controllers/questions_controller.rb:145:in `show' Not sure where to even begin looking for the source of this error. DAve -- Posted via http://www.ruby-forum.com/. -- You received this

[Rails] Re: Rails 4 Join table query not working

2014-03-08 Thread Dave Castellano
> You have not shown us the important code, the code in the models > defining the relationships between them (has_many etc). Copy and > paste the first few lines of each model showing the relationship > definitions. > > Do you get the problem every time you try to get pictures for a > question? >