search for: generate_schema_abbreviations

Displaying 2 results from an estimated 2 matches for "generate_schema_abbreviations".

2005 Jun 13
1
Question on Eager Associations
...lude => [:items]) so far so good. If I do: @feed = Feed.find(1, :include => [:items, :categories]) I get the following error: undefined method `table_name'' for nil:NilClass with traceback: /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/associations.rb:735:in `generate_schema_abbreviations'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/associations.rb:735:in `collect'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/associations.rb:735:in `generate_schema_abbreviations'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib...
2005 Dec 28
1
Windows "Lost connection to MySQL server during query"
.../lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:734:in `columns'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:746:in `column_names'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:909:in `generate_schema_abbreviations'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:848:in `find_with_associations'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:395:in `find'' -- Posted via http://www.ruby-forum.com/.