I have an ActiveRecord which has several dynamically created has_one
associations using a plugin
and when I do
@foo = @my_active_record_object.foo
everything works well.
I’d like to be able to call them dynamically using a string using
@foo = @my_active_record_object.send(‘foo’)
but this doesn’t appear to work… any thoughts?