Permalink
Browse files

Ruby 1.8.7 doesn't support func(*foo, :bar= > baz) calling

  • Loading branch information...
1 parent f01024a commit aafe2576d53fb17753178211635916f58882a401 @mipearson mipearson committed Dec 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/datagrid/columns.rb
View
@@ -124,7 +124,8 @@ def columns(*args)
end
def data_columns(*names)
- self.columns(*names, :data => true)
+ names << {:data => true}
+ self.columns(*names)
end
def column_by_name(name)

0 comments on commit aafe257

Please sign in to comment.