Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix syntax error in Ruby1.8

  • Loading branch information...
commit 9d7c6ac8342836fe7c3a4cdbf6c03aaefb17970b 1 parent 163da3e
@mshibuya mshibuya authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/rails_admin/adapters/mongoid/extension.rb
View
3  lib/rails_admin/adapters/mongoid/extension.rb
@@ -39,7 +39,8 @@ def accepts_nested_attributes_for_with_rails_admin(*args)
args.each do |arg|
@nested_attributes_options[arg.to_sym] = options.reverse_merge(:allow_destroy=>false, :update_only=>false)
end
- accepts_nested_attributes_for_without_rails_admin(*args, options)
+ args << options
+ accepts_nested_attributes_for_without_rails_admin(*args)
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.