Some helpers also happen to be overridden in a weird way (ex: using number_with_delimiter) with AMP format returns an ArgumentError exception (wrong number of arguments, given 2, expected 0)
# app/controllers/pages_controller.rb
class PagesController < ApplicationController
def my_action
@my_instance_var = "some data"
end
end
# app/views/pages/my_action.html.erb
<%= @my_instance_var %> #=> returns nil
Context :
Bug happening on multipleRails projects, all of which version is 4.2.10
Hi,
I'm having an issue when trying to access the AMP version of a Rails view in my local environement
What happens is :
number_with_delimiter)
with AMP format returns anArgumentError
exception (wrong number of arguments, given 2, expected 0
)Context :
Any insights?