Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is Comment#build_from only a class method? #37

Open
ghost opened this issue Nov 14, 2012 · 1 comment
Open

Why is Comment#build_from only a class method? #37

ghost opened this issue Nov 14, 2012 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 14, 2012

Wouldn't it make sense to be able to build a comment from an existing Comment instance as a response?

some_comment.build_from( @article, user.id, "Comment body" )
# New comment is a reply to some_comment
@elight
Copy link
Owner

elight commented Nov 15, 2013

Good idea. Pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant