Displaying 1 result from an estimated 1 matches for "practice_members".
2010 Dec 09
15
Rails 3 Active Record query returns "undefined method `loaded?' for #<Array:0x126a4c>"
I am getting this error on an rspec test:
undefined method `loaded?'' for #<Array:0x126a4c>
When I call:
Practice.includes("practice_members").all
Practice has_many :practice_members
PracticeMember belongs_to :practice
Practice.all returns:
[#<Practice id: 6, name: "Practice One", created_at: "2010-12-09 15:40:46",
updated_at: "2010-12-09 15:40:46">]
PracticeMember.all returns:
#<Practice...