search for: companies_control

Displaying 3 results from an estimated 3 matches for "companies_control".

2006 Oct 03
4
newbie question
...s_as_ferret/lib/class_methods.rb:223:in `ferret_index'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:389:in `find_id_by_contents'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:253:in `find_by_contents'' #{RAILS_ROOT}/app/controllers/companies_controller.rb:517:in `createConditionsFromParameters'' #{RAILS_ROOT}/app/controllers/companies_controller.rb:694:in `generate_list_from_filter'' #{RAILS_ROOT}/app/controllers/companies_controller.rb:290:in `list_profile_information'' /opt/local/bin/mongrel_rails:18 which looks...
2006 Oct 03
4
newbie question
...s_as_ferret/lib/class_methods.rb:223:in `ferret_index'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:389:in `find_id_by_contents'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:253:in `find_by_contents'' #{RAILS_ROOT}/app/controllers/companies_controller.rb:517:in `createConditionsFromParameters'' #{RAILS_ROOT}/app/controllers/companies_controller.rb:694:in `generate_list_from_filter'' #{RAILS_ROOT}/app/controllers/companies_controller.rb:290:in `list_profile_information'' /opt/local/bin/mongrel_rails:18 which looks...
2006 Aug 14
1
Rest, routes, path_prefix and default params
...plication.rb, I have class ApplicationController < ActionController::Base protected def find_company @company = Company.find(params[:company_id]) end end And in departments_controller.rb class DepartmentsControler < ActionController::Base before_filter :find_company end In companies_controller.rb I have class CompaniesController < ActionController::Base protected def find_company @company = Company.find(params[:id]) end end -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060814/5...