[Rails] undefined method `sphinx_facets' for nil:NilClass

2010-02-11 Thread Rabia Akhtar
I am getting A NoMethodError occurred in main#search: undefined method `sphinx_facets' for nil:NilClass [RAILS_ROOT]/vendor/plugins/ thinking-sphinx/lib/thinking_sphinx/facet_search.rb:131:in `facet_from_object' Its occur in special scenerio... Can any body tell me when and how to resolve

[Rails] Re: Beginner: what to do after adding an association in a model?

2009-03-12 Thread Rabia Akhtar
I dont think so you need to do any thing manually with the db.. Just use the association by using dot operator. Regards Rabia On Thu, Mar 12, 2009 at 11:05 AM, neerolyte neerol...@gmail.com wrote: I've looked at a bunch of tutorials and don't really understand what is supposed to happen after

[Rails] Re: javascript function needs rails variable

2009-01-28 Thread Rabia Akhtar
it starts working Cheers Rabia Akhtar On Wed, Jan 28, 2009 at 8:41 PM, jemminger jemmin...@gmail.com wrote: This will only work if that script block is in an .erb template. On Jan 28, 1:02 am, Rabia rabiaakht...@gmail.com wrote: script type=text/javascript document.getElementById