search for: browsecontrol

Displaying 2 results from an estimated 2 matches for "browsecontrol".

2008 Jan 21
2
Application error - SQL_AUTO_IS_NULL
...file. I can''t figure out what this means and am not sure how relevant it is. Any suggestions are appreciated. Should I do something special with the routes? Below are the two log files. ==================== test environment log file that works (Windows XP) ==================== Processing BrowseController#book_details (for 127.0.0.1 at 2008-01-21 14:20:22) [GET] Session ID: e49a3adf336e845be40dc8573f2b32c9 Parameters: {"action"=>"book_details", "id"=>"1", "controller"=>"browse"} ←[4;35;1mBook Columns (0.000000)←[0m ←[0mS...
2006 Jun 22
1
finding one db entry and how to display it in a view
Here is my controller: class BrowseController < ApplicationController def index @products = Product.find(:all) end def item @products = Product.find(:all, :conditions => "id = #{params[:id]}") end end --- the ''item'' method is bothering me, because I know I should be able to simply do:...