rake throws an error: undefined method `reserved=' for #<FriendlyId
I run rake and I get this error. What's that supposed to mean? Sorry I'm newbie to RoR sb please help. Thanks a lot.
undefined method `reserved=' for #<FriendlyId::Act开发者_JAVA百科iveRecordAdapter::Configuration:0x2b1ae5c2ec70>
You have to use reserved_words instead of reserved.
There was a code change in recent versions of friendly_id.
http://norman.github.com/friendly_id/FriendlyId/Configuration.html#reserved_words-instance_method
may be you are using reserved= instead of reserved on your FriendlyId object.
精彩评论