search for: info_controller

Displaying 4 results from an estimated 4 matches for "info_controller".

2006 Jul 28
2
newb question...
This is what it says when i have this stupid error... app/controllers/info_controller.rb:9: syntax error this is what is inside of info_controller, class InfoController < ApplicationController def who_bought @product = Product.find(params[:id]) @orders = @product.orders respond_to do |accepts| accepts.html accepts.xml end end if someone could please help me......
2008 Jun 04
0
routers are handled incorrectly on production
...t;=>"new", "controller"=>"admin"} ActionController::UnknownAction (No action responded to orders): The file hierarchy is: $ ls -xR1 ./app/controllers/ ./app/controllers/: admin admin_controller.rb application.rb categories_controller.rb category_controller.rb info_controller.rb login_controller.rb search_controller.rb store_controller.rb ./app/controllers/admin: orders orders_controller.rb ./app/controllers/admin/orders: line_items_controller.rb -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~---------~--~----~------------~-------~--~----~ Yo...
2006 Mar 23
4
Error with Rails 1.1RC1 and Properties page
...in `to_html'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info.rb:52:in `returning'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info.rb:52:in `to_html'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info_controller.rb:5:in `properties'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:908:in `send'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:908:in `perform_action_without_filters'' /usr/lib/ruby/gems/1.8/gems/actionp...
2009 Apr 16
3
Depot App Who Bought Enhancements
I''ve completed the chapter on Internationalization successfully, but found out just recently that the "Who Bought" function produces an error page that looks very ugly when someone enters a product ID that does not exist. My preference would be to design the app to have a list of hyperlinks presented when you visit the URL, http://localhost:3000/info/ that describes the list of