Stephen Blackstone
Not a member
Stephen Blackstone's latest activity
Thursday, November 04 2010
-
-
Stephen Blackstone commented at 9:23 PMI just tried this in Rails 2.3.10 using the exact model in the report and it worked for me..
c = Company.create => # c.addresses.build.addressable => #
Wednesday, November 03 2010
-
Stephen Blackstone commented at 8:26 PM -
- Tag set to patch
- Assigned user changed from Ryan Bigg to Jeff Kreeftmeijer
Here's an updated patch that fixes the underlying problem rather than just covering it up.
AssociationProxy does this:
instance_methods.each { |m| undef_method ...
Friday, October 22 2010
Wednesday, October 20 2010
-
- Tag changed from rails 2.3.8, named_scope, ruby-1.9.2 to rails 2.3.8, named_scope, patch, ruby-1.9.2
Jeremy -
Most of the places where rails is using method_missing in this morass is guarded by things like:
if @target.respond_to?(method) || (!@reflection.klass.... -
Stephen Blackstone commented at 6:31 PMSorry about the formatting above =)
The problem is that in association_collection, method missing is getting called with respond_to somewhere is calling respond...
-
Stephen Blackstone commented at 6:06 PMThe problem appears to be when on line 146 in association proxy send gets called with "current_scoped_methods". This causes proxy_respond_to to call respond_to?...
Tuesday, October 19 2010
-
Stephen Blackstone commented at 9:56 PMSame Problem here.. It also works fine under 1.9.1p243 but not 1.9.2...
I'm using Rails 2.3.9
Group
has_many :topics, :as => :discussable (via a module)Topic
b...