Forum: Typo author fields for posts and comments

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Erik Ostrom (Guest)
on 2009-05-07 06:51
(Received via mailing list)
I'm trying to write some basic specs for the WordPress converter.

Writing specs to ensure authorship is converted correctly for both posts
and
comments, I found something odd:

  * When you write a post, Content.author is set to User.login.
  * When you write a comment, Feedback.author is set to User.name.

Is there a reason the two author attributes are set from different
attributes on User? My specs currently maintain this behavior, but they
shouldn't if it's just an accident.

Thanks
--Erik Ostrom
  removed_email_address@domain.invalid
This topic is locked and can not be replied to.