Displaying 2 results from an estimated 2 matches for "t1_".
Did you mean:
t1
2006 Jun 25
2
how to write the codes in view?(newbie question)
...r
<links>
id
genre_id
name
symbol
url
order
display
etc
The code of links_Controller is like below.
def list
@links = Genre.find(:all,:include => :link)
end
Below is the mysql log.
SELECT genres.`id` AS t0_r0, genres.`genre_n
ame` AS t0_r1, genres.`genre_order` AS t0_r2, links.`id` AS t1_r0,
links.`genre_
id` AS t1_r1, links.`name` AS t1_r2, links.`symbol` AS t1_r3,
links.`url` AS t1_
r4, links.`order` AS t1_r5, links.`display` AS t1_r6, links.`etc` AS
t1_r7 FROM
genres LEFT OUTER JOIN links ON links.genre_id = genres.id
But I don''t know the way to show them in the view....
2006 Mar 14
3
cascading eager loading patch not working in oracle
...does not support this
keyword:
ActiveRecord::StatementInvalid: OCIError: ORA-00905: missing keyword:
SELECT tim
esheets.id AS t0_r0, timesheets.start_date AS t0_r1, timesheets.status
AS t0_r2,
timesheets.cost AS t0_r3, timesheets.charge AS t0_r4,
timesheets.employee AS t0
_r5, employees.id AS t1_r0, employees.name AS t1_r1,
employees.start_date AS t1_
r2, employees.cost AS t1_r3, employees.charge AS t1_r4,
employees.username AS t1.....
I have just installed edge rails.
--
Posted via http://www.ruby-forum.com/.