search for: solucions_controller

Displaying 1 result from an estimated 1 matches for "solucions_controller".

2009 Mar 14
2
Pobrem with REST routes
...troller#index undefined method `find'' for #<Encuesta:0x7f790aa4fdc8> RAILS_ROOT: /home/jose/marzo Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:260:in `method_missing'' app/controllers/solucions_controller.rb:94:in `find_encuesta_pregunta'' Parameters: {"encuesta_id"=>"1", "pregunta_id"=>"1"} My code-> Solucion controller before_filter :find_encuesta_pregunta def index @solucions = @pregunta.solucions.find(:all) respond_to do...