[typo] Problem posting new article after update to 1343

H. Wade Minter minter at lunenburg.org
Mon Jan 8 13:08:29 EST 2007


I just upgraded my Typo installation last night to HEAD (rev 1343),  
and when I'm trying to post a new article through the web interface,  
I get this:

ActiveRecord::HasManyThroughCantAssociateNewRecords (Cannot associate  
new record
s through 'Article#notifications' on '#'. Both records must have an  
id in order
to create the has_many :through record associating them.):
     /vendor/rails/activerecord/lib/active_record/associations/ 
has_many_through_association.rb:52:in `<<'
     /app/models/article.rb:271:in `add_notifications'
     /vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in  
`send'
     /vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in  
`callback'
     /vendor/rails/activerecord/lib/active_record/callbacks.rb:330:in  
`each'
     /vendor/rails/activerecord/lib/active_record/callbacks.rb:330:in  
`callback'
     /vendor/rails/activerecord/lib/active_record/callbacks.rb:253:in  
`create_without_timestamps'
     /vendor/rails/activerecord/lib/active_record/timestamp.rb:39:in  
`create'
     /vendor/rails/activerecord/lib/active_record/base.rb:1777:in  
`create_or_update_without_callbacks'
     /vendor/rails/activerecord/lib/active_record/callbacks.rb:242:in  
`create_or_update'
     /vendor/rails/activerecord/lib/active_record/base.rb:1533:in  
`save_without_validation'
     /vendor/rails/activerecord/lib/active_record/validations.rb: 
752:in `save_without_transactions'
     /vendor/rails/activerecord/lib/active_record/transactions.rb: 
129:in `save'
     /vendor/rails/activerecord/lib/active_record/connection_adapters/ 
abstract/database_statements.rb:59:in `transaction'
     /vendor/rails/activerecord/lib/active_record/transactions.rb: 
95:in `transaction'
     /vendor/rails/activerecord/lib/active_record/transactions.rb: 
121:in `transaction'

[...]

Any thoughts?



More information about the Typo-list mailing list