Skip to content

Commit

Permalink
Added utility scopes to attachment table
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide D'Agostino authored and Davide D'Agostino committed Jun 11, 2009
1 parent 7bf9833 commit 5f0c52c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/data_base/attachment_table.rb
Expand Up @@ -17,6 +17,7 @@ def self.inherited(subclass)#:nodoc:
super
subclass.write_inheritable_attribute(:attachment_definitions, {}) if subclass.attachment_definitions.nil?
subclass.attachment_definitions[subclass.name] = {:validations => {}}.merge(Lipsiadmin::Attachment.options)
subclass.send(:include, Lipsiadmin::DataBase::UtilityScopes)
subclass.extend(ClassMethods)
end

Expand Down
2 changes: 1 addition & 1 deletion lib/version.rb
Expand Up @@ -2,7 +2,7 @@ module Lipsiadmin
module VERSION #:nodoc:
MAJOR = 4
MINOR = 1
TINY = 5
TINY = 6

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down

0 comments on commit 5f0c52c

Please sign in to comment.