Author fields for posts and comments

I’m trying to write some basic specs for the WordPress converter.

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

  • When you write a post, is set to User.login.
  • When you write a comment, is set to

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.

–Erik Ostrom
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs