lib/dir_model/model/files.rb in dir_model-0.6.2 vs lib/dir_model/model/files.rb in dir_model-0.7.0

- old
+ new

@@ -27,13 +27,12 @@ end protected def file(file_name, options={}) - merge_files(file_name.to_sym => options) + files_object.merge(file_name.to_sym => options) raise ArgumentError.new("You cannot define more of one file: but you can add relations, see README") if files.keys.size > 1 end - end end end end