Displaying 2 results from an estimated 2 matches for "program_pages".
2006 Feb 01
1
Rails pagination problem
...olumn/attribute of program)
The error message is:
DBI::DatabaseError: S0022 (207) [Microsoft][ODBC SQL Server
Driver][SQL Server]Invalid column name ''program_name''.: SELECT * FROM
(SELECT TOP 3 * FROM (......rest of query deleted......
query_term = ''%tiger%''
@program_pages, @programs = paginate :programs, :conditions =>
["program_name like ?", query_term], :per_page => 5, :include =>
[:status], :order => ''program_name''
If I remove ":include => [:status]" from the paginate crestion code,
it works fine. So the foll...
2006 Apr 20
8
Whats the best way to do this?
I have an archive that can have 0 or more extra files associated with
it.
I would like to be able to edit the associated files info on the same
page as the archive info.
Listing the extra files info to the edit form is simple enough, but How
do I form the text input fields for easy (or automatic) pick-up in the
update?
Or am I barking up the wrong tree here?
--
Posted via