Patch #26548

Rails5 acts_as_versioned fix

Added by Pavel Rosický 12 months ago. Updated 12 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


fixed migration for r16889

041_rename_comment_to_comments.rb.patch Magnifier (1.17 KB) Pavel Rosický, 2017-07-26 22:53

Associated revisions

Revision 16893
Added by Toshi MARUYAMA 12 months ago

fix db migrate broken by r16889 (#26548)

Contributed by Pavel Rosický.


#1 Updated by Go MAEDA 12 months ago

  • Target version set to 4.0.0

This patch fixes the following error that occurs during "rake db:migrate".

== 41 RenameCommentToComments: migrating ======================================
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

undefined method `versioned_table_name' for #<Class:0x007ff08f20fb20>

#2 Updated by Toshi MARUYAMA 12 months ago

  • Description updated (diff)

#3 Updated by Toshi MARUYAMA 12 months ago

  • Status changed from New to Closed
  • Target version deleted (4.0.0)

Committed in trunk r16893, thanks.

Also available in: Atom PDF