search for: full_standard

Displaying 1 result from an estimated 1 matches for "full_standard".

2009 Nov 18
2
Composing Data from THREE models with Aggregation
...I couldn''t get :grade.grade_abbr and strand.strand_abbr to work. The code below was the best that I could come up with but it shows grade_id and strand_id. Does anyone have a suggestion for how to make this work or for a new strategy? class Standard < ActiveRecord::Base composed_of :full_standard, :mapping => [ %w[grade_id grade_id], %w[strand_id strand_id] %w[number number] ] class FullStandard < ActiveRecord::Base attr_reader :grade_id, :strand_id, :number def initialize(grade...