Permalink
Browse files

No idea why I added reverse there

  • Loading branch information...
1 parent 5600671 commit fb30a554f41512a3437f65a462dadcc08f242071 @solnic committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/virtus/module.rb
View
@@ -20,7 +20,7 @@ def attribute_definitions
end
def define_attributes(model)
- attribute_definitions.reverse.each do |attribute_args|
+ attribute_definitions.each do |attribute_args|
model.attribute(*attribute_args)
end
end

0 comments on commit fb30a55

Please sign in to comment.