Navigation Menu

Skip to content

Commit

Permalink
remove class reference for method
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusbaguley committed Apr 7, 2011
1 parent 00ad3e4 commit d547ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db_reference/active_record_ext.rb
Expand Up @@ -10,7 +10,7 @@ module ClassMethods
# If it exists, it is updated with the given options.
#
# Returns the record.
def self.update_or_create(attributes = {})
def update_or_create(attributes = {})
id = attributes.delete(:id)
record = find_or_initialize_by_id(id)
record.attributes = attributes
Expand Down

0 comments on commit d547ab4

Please sign in to comment.