Hi Stefan,

I found the bug: in Rails 4 "has_many" support a second "lambda"
argument. It's a bit tricky bit I think I have found a decent solution:
https://github.com/Hobo/hobo/commit/473689db2f9ea9251d9b15bc95de038e7dddb967

I have pushed Hobo 2.1.0.pre2, so please update your Gemfile, run bundle
update and check if the problem is solved :).

Warm regards,
Ignacio

El 19/12/13 13:27, Stefan Haslinger escribió:
> Hi Ignacio! 
> 
> I tried upgrading an application and get a error dump on startup (see
> Gist <https://gist.github.com/haslinger/8038031>).
> The corresponding model User is on Github
> <https://github.com/informatom/mercator/blob/rails4/app/models/user.rb>.
> The error occurs in line 106 of accessible_associations.rb
> <https://github.com/Hobo/hobo/blob/rails4/hobo/lib/hobo/model/accessible_associations.rb>
> The Gem involved is paper_trail
> <https://github.com/airblade/paper_trail>. I followed Ryan Bates's
> railscast on updating the app. There were earlier issues with paper_clip
> and rails for, but these are supposedly fixed with the current version 3.0
> 
> Is there any more info I can provide?
> 
> Greetings from icy Vienna,
> Stefan
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to