Displaying 1 result from an estimated 1 matches for "tc_property_load".
Did you mean:
tc_property_loader
2005 Oct 25
1
initialising an instance variable on ActiveRecord creation
...ll to no avail.
For example, the code I tried for initialize in Property was:
def initialize
@property_variable_stack=PropertyVariableStack.new
end
When this ran, I could trace all the correct SQL being generated in
the logs, but it raised an error:
test_sample(TestPropertyLoader) [Z:/sics/test/tc_property_loader.rb:66]:
Exception raised:
Class: <NoMethodError>
Message: <"undefined method `construct_sql'' for #<PropertyVariableStack:0x2c77d0
8>">
Can anyone tell me why this is?
& maybe advise on how to achieve what I''m after?
Thanks in advance,
doug.