Page#creator_id and updater_id are always nil #233

Closed
tvdeyen opened this Issue May 2, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Owner

tvdeyen commented May 2, 2012

attr_accessible does not change any thing. Maybe a bug in user_stamp gem?

Contributor

pascalj commented May 29, 2012

userstamp doesn't respect the namespace and the default stamper_class_name is User but alchemy_cms' user class is Alchemy::User. So the quickfix would be to change the calls to stampable to stampable(:stamper_class_name => 'Alchemy::User'). I tested it, it works and I could provide the patch. The other possibility would be to "fix" userstamp, although IMO it's not really a bug.

Owner

tvdeyen commented May 29, 2012

Providing the stamper_class_name is the best way IMHO.
I would appreciate a patch.

See you thursday in Amsterdam :)

userstamp doesn't respect the namespace and the default stamper_class_name is User but alchemy_cms' user class is Alchemy::User. So the quickfix would be to change the calls to stampable to stampable(:stamper_class_name => 'Alchemy::User'). I tested it, it works and I could provide the patch. The other possibility would be to "fix" userstamp, although IMO it's not really a bug.


Reply to this email directly or view it on GitHub:
magiclabs#233 (comment)

tvdeyen closed this in ff4de91 May 29, 2012

@tvdeyen tvdeyen pushed a commit that referenced this issue May 29, 2012

Thomas von Deyen Merge pull request #240 from pascalj/master
Fix for #233
fcde612
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment