Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- fix missing old way to set resource instance variable

  • Loading branch information...
commit 0b78260bf2dcf1e0ff707212921e3d33975a86e3 1 parent 59dc21a
@gramos authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  activeresource/lib/active_resource/associations.rb
View
1  activeresource/lib/active_resource/associations.rb
@@ -79,7 +79,6 @@ def belongs_to(resource, opts = {})
association_col = send h[:association_col]
return nil if association_col.nil?
set_resource_instance_variable(resource){ h[:klass].find(association_col) }
- instance_variable_set("@#{resource}", h[:klass].find(association_col))
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.