Closed mycaravam closed 8 years ago
I can confirm this error. I believe the reason is a signature change of the find_templates method in Rails 4.2.5.1 (compared to 4.2.5). The error always happens in this line of Hobo, where find_templates is overwritten with the old signature.
It I change this line (not really knowing, what I'm doing...) to
def find_templates(name, prefix, partial, details, whatever)
my tests would pass again, but I believe that way I would kill the security fix.
I can be wrong, but as I can see we can ignore this option, so just fix declaration of find_templates
is just enough
I think @tacid 's solution is good enough, and maintains the security fix. Thanks!
@tacid @iox Thanks for your work! I got all my app's instances running on 4.2.5 literally today morning, and I almost thought I could take next week off. Seems I've some work next week upgrading again :-)
Updates are a never ending story :D.
By the way, I just fixed all the tests in the master branch with Rails 4.2.5.1, everything is green again.
@iox it would be great, if you could bump up the Hobo version and push to Rubygems. Upgrade would be easier and fresh installs would work again.
Of course, it's in my task list.
after a clean install and fixing sporckets to 2.1.1 this occurs when generating a new resource: ` end
any ideas?