search for: has_one_without_reflection

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

2006 Mar 03
6
has_one :next - invalid name?
...recated_associations.rb:83: void value expression /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.1/lib/active_record/deprecated_associations.rb:84:in `deprecated_has_association_method'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.1/lib/active_record/associations.rb:472:in `has_one_without_reflection'' (eval):5:in `has_one'' Is ''next'' an invalid name? ''previous'' works. Joe -- Posted via http://www.ruby-forum.com/.
2006 Mar 23
5
Polymorphic associations
...problem is pagination. Is this a bug or what should I do? Here is the log: C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys'' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:438:in `has_one_without_reflection'' (eval):5:in `has_one'' #{RAILS_ROOT}/app/models/person.rb:4 #{RAILS_ROOT}/app/controllers/company_controller.rb:7:in `list'' -e:3 -- Posted via http://www.ruby-forum.com/.