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

session based #6

Open
chalmagean opened this issue Jun 26, 2013 · 2 comments
Open

session based #6

chalmagean opened this issue Jun 26, 2013 · 2 comments

Comments

@chalmagean
Copy link

Hey guys,

I was wondering if it's possible to use the survey without binding it to a specific user. For example if I want to ask a visitor a question but he doesn't have an account yet.

Cezar

@rjst
Copy link
Member

rjst commented Jul 1, 2013

Hi mixandgo,

The gem was initially extracted from a project that didn't actually have users, so it's possible. With that being said, it's easier to use if you do have an object abstraction for your participant.

If that's impossible to you, you can still use survey, but you'll probably have to manually configure some of the object associations with your model, namely the participant. If you have any issues doing that, let us know and maybe we can help you.

regards,
Ricardo

@chalmagean
Copy link
Author

It would actually have to work independent of the user model. I'd say it should rely more on cookies than the AR model since a user can be a visitor that never signs up, or it can be an already registered user.

Another very useful feature (not sure if this is already built in) would be to be able to define a per page survey. This would be useful to test the effectiveness of a page.

That said, I'd be glad to help build those features.

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

No branches or pull requests

2 participants