search for: t2_r2

Displaying 6 results from an estimated 6 matches for "t2_r2".

Did you mean: t0_r2
2006 Jan 09
3
Include with two references of one model of the same table
...]) 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_start" AS t2_r5, matches."id" AS t1_r0, matches."matchtime_stop" AS t2_r6, matches.&qu...
2007 May 22
2
find :all :include broken on Oracle 10
...publications.publisherorg AS t0_r8, publications.release_state_id AS t0_r9, doc_types.id AS t1_r0, doc_types.code AS t1_r1, doc_types.en AS t1_r2, doc_types.es AS t1_r3, doc_types.sv AS t1_r4, doc_types.descr AS t1_r5, release_states.id AS t2_r0, release_states.code AS t2_r1, release_states.name AS t2_r2, release_states.descr AS t2_r3 FROM publications LEFT OUTER JOIN doc_types ON doc_types.publication_id = publications.id LEFT OUTER JOIN release_states ON release_states.publication_id = publications.id Obviously, the joins should be: LEFT OUTER JOIN doc_types ON doc_types.id = publications.doc...
2005 Apr 27
5
Eager load mysteriously deletes records
...0000) [1;37mSHOW FIELDS FROM todos [4;35mWhens Columns (0.000000) [0;37mSHOW FIELDS FROM whens [4;33mWhere Columns (0.010000) [1;37mSHOW FIELDS FROM wheres [4;35mTodo Load Including Associations (0.010000) [0;37mSELECT wheres.id AS t2_r1, todos.position AS t0_r6, wheres.category_id AS t2_r2, todos.due AS t0_r7, whens.todo_id AS t1_r0, whens.id AS t1_r1, todos.repeat_id AS t0_r0, whens.category_id AS t1_r2, todos.hour AS t0_r1, todos.priority AS t0_r2, todos.id AS t0_r3, wheres.todo_id AS t2_r0, todos.description AS t0_r4, todos.kind_id AS t0_r5 FROM todos LEFT OUTER JOIN whens ON when...
2006 Apr 10
1
random | in join statement with more than one :include
...ncies.`updated_at` AS t1_r7, sponsor_agen cies.`updated_on` AS t1_r8, sponsor_agencies.`lock_version` AS t1_r9, sponsor_ag encies.`created_by` AS t1_r10, sponsor_agencies.`updated_by` AS t1_r11, mechanis ms.`id` AS t2_r0, mechanisms.`name` AS t2_r1, mechanisms.`description` AS t2_r2, mechanisms.`created_at` AS t2_r3, mechanisms.`created_on` AS t2_r4, mechanisms. `updated_at` AS t2_r5, mechanisms.`updated_on` AS t2_r6, mechanisms.`lock_versio n` AS t2_r7, mechanisms.`created_by` AS t2_r8, mechanisms.`updated_by` AS t2_r9 FROM grants LEFT OUTER JOIN spons...
2013 Oct 08
4
'puppet storeconfigs export' killed
...urces`.`host_id` AS t1_r3, `resources`.`source_file_id` AS t1_r4, `resources`.`exported` AS t1_r5, `resources`.`line` AS t1_r6, `resources `.`updated_at` AS t1_r7, `resources`.`created_at` AS t1_r8, `param_values`.`id` AS t2_r0, `param_values`.`value` AS t2_r1, `param_values`.`param_name_id` AS t2_r2, `param_values`.` line` AS t2_r3, `param_values`.`resource_id` AS t2_r4, `param_values`.`updated_at` AS t2_r5, `param_values`.`created_at` AS t2_r6, `puppet_tags`.`id` AS t3_r0, `puppet_tags`.`name` AS t3_r1, `puppet_tags`.`updated_at` AS t3_r2, `puppet_tags`.`created_at` AS t3_r3 FROM `hosts`...
2006 Mar 15
8
Tags to ruby interface: What I am missing? (repost)
I offer my apologies in advance for the repost. On a list as busy as this, it is sometimes easy to get missed in the shuffle. I am trying to create, display and edit a referenced object''s text field on the same view as my root object. For example: ------------------------- Quiz: <<quiz.name>> Preamble: <<quiz.preamble_presentation.text>> Postamble: