Displaying 2 results from an estimated 2 matches for "next_record".
Did you mean:
get_record
2006 Apr 20
2
previous|next navigation question
...current record in the session?
Or restore the results array each time (running the same search again)
and then determine the position of the current record inside that array
somehow (How can this be done in Ruby)? Sounds very inefficient to me.
Or even add two instance variables (@prev_record, @next_record) to the
record''s model that are populated (with the adjacent records) each time
a search is run, and then store the search results array in the session?
Or ...?
Ingo Weiss
--
Posted via http://www.ruby-forum.com/.
2005 Jul 12
0
Asteriski misses the table
...ESTAMP('2005-07-01')
*MySQL Error*: 1064 (You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near 'WHERE UNIX_TIMESTAMP(calldate) >=
UNIX_TIMESTAMP('2005-07-01')' at line 1)
*Database error:* next_record called with no query pending.
*MySQL Error*: 1064 (You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near 'WHERE UNIX_TIMESTAMP(calldate) >=
UNIX_TIMESTAMP('2005-07-01')' at line 1)
It misses the...