jurgis/spree-additional-calculators — Issue #3: Using spree 0.70.1
Author: Arrumaco
Created: 2012-02-04 03:27:28+00:00
State: open

Hi,

Did you make adjustment to use this gem in a spree 0.70.1 env.?

I ask that because I'm getting these error booting the Web Server:

[DEPRECATION] `insert_after` hook method is deprecated, replace hook call with:
Deface::Override.new(:virtual_path => "admin/configurations/index",
:name => "converted_admin_configurations_menu_970875696",
:insert_after => "[data-hook='admin_configurations_menu'], #admin_configurations_menu[data-hook]",
:text => "<%= configurations_menu_item(t(\"additional_calculator_rates\"), admin_additional_calculator_rates_path, t(\"additional_calculator_rates_description\")) %>",
:disabled => false)

[WARNING] Deface railtie has not initialized yet, override 'converted_admin_configurations_menu_970875696' is being declared too early.

And....

wrong number of arguments (3 for 2)

Extracted source (around line #8):

5: <%= render :partial => 'admin/shared/head' %>
6:

7: <% if @current_controller == 'additional_calculator_rates' %>
8: <%= javascript_include_tag 'additional_calculators', :cache => true %>
when selecting the additional calculatores from the config page.

Is it necesary to merge your code into the new app to use the Rails 3.1 convention?

Thanks a lot