search for: season_id

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

Did you mean: person_id
2006 Jan 09
3
Include with two references of one model of the same table
...destroy def self.find_all_played id find(:all, :include => ["hometeam", "awayteam"]) end end Heres a sample of the error... |PGError: ERROR: table name "matches" specified more than once : SELECT matches."awayteam_goals" AS t2_r1, matches."season_id" AS t1_r7, teams_seasons."division_id" AS t0_r6, matches."hometeam_goals" AS t2_r2, matches."league_id" AS t1_r8, matches."awayteam_id" AS t2_r3, matches."venue_id" AS t1_r9, matches."hometeam_id" AS t2_r4, matches."matchtime_sta...
2006 Aug 03
5
Strategy for persisting row filter variables in pagination?
I have my list view filtering rows shown within the table <tr> tags like most of the introductory tutorials do. As I''m adding a few dozen entries I''m noticing the standard scaffolding pagination doesn''t pick up the number of rows from the filter since it is not being passed the number of rows returned within the scope of the filter statement. >From a