Skip to content

Commit

Permalink
Merge e5b97d3 into 2e31a14
Browse files Browse the repository at this point in the history
  • Loading branch information
jvans1 committed Mar 29, 2014
2 parents 2e31a14 + e5b97d3 commit 127b0c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/active_model/serializer/associations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def build_serializer(object, options = {})
end
end

class BelongsTo < HasOne;end

class HasMany < Association
def initialize(name, *args)
super
Expand Down

0 comments on commit 127b0c7

Please sign in to comment.