fortesinformatica / jasper-rails

JasperReports on Rails
MIT License
62 stars 36 forks source link

[Supported Rails < 4.2.0 ] #33

Open ElamT opened 9 years ago

ElamT commented 9 years ago
rodrigomaia commented 9 years ago

Hi, @ElamT

I found only one error on my tests: undefined local variable or method `opts' for #ActionController::Responder:0x007ff880935438

I believe there's no 'opts' anywhere in the code:

I changed to "options" and worked, is there any reason why you changed it?

ElamT commented 9 years ago

Hi @rodrigomaia opts is one param of the method define_render_rails_less_4_2

def self.define_render_rails_less_4_2(renderer,file_extension, opts = {})
     ...
end

it is strange not work. I only named it so, there isn't any particular reason.