Displaying 2 results from an estimated 2 matches for "total_amount".
Did you mean:
total_ammount
2006 Apr 10
1
random | in join statement with more than one :include
...grants.`sp onsor` AS t0_r8, grants.`fund_source` AS t0_r9,
grants.`department_name` AS t0_r 10,
grants.`start_date_overall` AS t0_r11, grants.`end_date_overall` AS
t0_r12, grants.`start_date_current` AS t0_r13,
grants.`end_date_current` AS t0_r14, gran ts.`total_amount` AS
t0_r15, grants.`direct_amount` AS t0_r16, grants.`indirect_
amount` AS t0_r17, grants.`total_amount_cfy` AS t0_r18,
grants.`direct_amount_cf y` AS t0_r19,
grants.`indirect_amount_cfy` AS t0_r20, grants.`title` AS t0_r21,
grants.`abstract` AS t0_r22, grants.`created_at` AS t0_r23,...
2006 Dec 07
2
Problem saving parent and children using belongs_to, class_name, and foreign_key
Hi, I have a real simple association setup here that''s just trying to:
- Create a new PayjunctionOrder
- Create some LineItem objects and assign them to the PayjunctionOrder
- Save everything
I''m using Rails Edge.
----
class PayjunctionOrder < ActiveRecord::Base
has_many :line_items
end
------------------
----
class LineItem < ActiveRecord::Base
belongs_to :order,