Permalink
Browse files

Fixing issue calling super without parameters in define_method

  • Loading branch information...
1 parent 296f8d4 commit edbc365ca6df234f1f82044bbf8fd4a5fa4312f0 @samlown committed Jan 21, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 VERSION
  3. +1 −1 lib/translate_columns.rb
View
@@ -1 +1,2 @@
*.swp
+*.gem
View
@@ -1 +1 @@
-1.1.0
+1.1.1
View
@@ -98,7 +98,7 @@ def translate_columns( *options )
if (translation)
translation.send("#{column}_before_type_cast")
else
- super
+ super()
end
end

0 comments on commit edbc365

Please sign in to comment.