Just spent couple of hours debugging it.... Well, Rails-Edge alone seems to work fine, so I figured out it should be some plugin, deactivating them one at a time I found out, that it is
has_many_polymorphs, that doesn't like Edge and has_many-through-Associations. Well, maybe it's time to say goodbye? Guess, Evan from http://blog.evanweaver.com/ doesn't have much time right now, working on Twitter. Cheers, Roman On Oct 16, 12:42 pm, Roman Heinrich <[EMAIL PROTECTED]> wrote: > Just had the same unpleasant experience with bleeding edge, looks like > too much trouble... wanted the upcoming internationalization backed > into Rails directly, though. Sigh... > > On Oct 15, 3:05 am, Walther Diechmann <[EMAIL PROTECTED] > > s.net> wrote: > > > ../vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.r > > > b:33:in > > > `alias_method': undefined method `render_file' for class > > > `ActionView::Base' (NameError) > > > Chalked this one up on me not keeping tabs on inherit_views plugin which > > orignally manhandled the render_file method - upgrading that plugin had > > me move on... > > > - to the next problem: mislav_will_paginate (which he will not in edge > > due to: > > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rub > > ygems.rb:319:in > > `activate':Gem::Exception: can't activate activesupport (>= 1.4.4), > > already activated activesupport-2.2.0] > > > but that's not a problem - I commented these two dirty rotten > > scoundrels: > > > gem 'mislav-will_paginate', '~> 2.2' > > require 'will_paginate' > > > and off to the races, I was - in my script/console - eager to see the > > promised land of has_many through a belongs_to. > > > Only to see this: > > > undefined method `quoted_table_name' for false:FalseClass > > from > > .../vendor/rails/activerecord/lib/active_record/associations/has_many_throu > > gh_association.rb:123:in > > `construct_conditions' > > > Before all this turns sour - I'm going to dump this branch - and hurry > > back in the comforting shadows of 2.0.2 with my original plugins intact. > > > The has_many on a belongs_to? > > > I did the utmost unDRYness I could come u with: > > > on my user I did > > > - has_many :event_users > > - has_many :invitations, :through => :event_users, :source => :event > > > and then on my events_controller - I stabbed this into the find_resource > > enclosing_resource.invitations.collect { |i| > > i.scheduled_events.month_year(fd,ld) }.flatten > > > case closed (for me - but I still shiver from the tour de force into the > > freeze)! > > -- > > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---