Skip to content

Commit

Permalink
Rename #attachment_changed? => attachemnt_has_changed?
Browse files Browse the repository at this point in the history
  • Loading branch information
jstorimer committed Mar 5, 2010
1 parent b3454af commit c4d8ca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/delayed/paperclip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def process_in_background(name)

module InstanceMethods
PAPERCLIP_ATTRIBUTES = ['_file_size', '_file_name', '_content_type', '_updated_at']

def attachment_changed?(name)
def attachment_has_changed?(name)
PAPERCLIP_ATTRIBUTES.each do |attribute|
full_attribute = "#{name}#{attribute}_changed?".to_sym

Expand Down

0 comments on commit c4d8ca8

Please sign in to comment.