resolve/refinerycms-inquiries — Issue #51: ArgumentError in Refinery::Admin::InquirySettingsController#update
Author: boblin
Created: 2011-12-28 08:56:32+00:00
State: open

Hi,
if i try to edit confirmation email i get this error:

```ruby
ArgumentError in Refinery::Admin::InquirySettingsController#update

wrong number of arguments (3 for 2)

refinerycms-e1c918d3e827/settings/app/models/refinery/setting.rb:117:in `set'
refinerycms-inquiries-870c5cab72b0/app/models/refinery/inquiry_setting.rb:33:in `block in confirmation_message='
refinerycms-inquiries-870c5cab72b0/app/models/refinery/inquiry_setting.rb:32:in `each'
refinerycms-inquiries-870c5cab72b0/app/models/refinery/inquiry_setting.rb:32:in `confirmation_message='
refinerycms-inquiries-870c5cab72b0/app/controllers/refinery/admin/inquiry_settings_controller.rb:28:in 'save_message_for_confirmation?'
activesupport (3.1.3) lib/active_support/callbacks.rb
...
```

I use this gems:

```ruby
gem "refinerycms", :git => "git://github.com/resolve/refinerycms.git"
gem 'refinerycms-i18n', '~> 2.0.0', :git => 'git://github.com/parndt/refinerycms-i18n.git'
gem 'refinerycms-inquiries', :git => 'git://github.com/resolve/refinerycms-inquiries.git', :branch => 'rails-3-1'
```